Edge Developer Platform
  • Pages
    • Product Introduction
    • Quick Start
      • Importing a Git Repository
      • Starting From a Template
      • Direct Upload
    • Framework Guide
    • Project Guide
      • Project Management
      • edgeone.json
      • Configuring Cache
      • Error Codes
    • Build Guide
    • Deployment Guide
      • Overview
      • Create Deploys
      • Manage Deploys
      • Deploy Button
      • Use Github Actions
    • Domain Management
      • Overview
      • Custom Domain Name
      • Configuring an HTTPS Certificate
      • How to Configure a DNS CNAME Record
    • Pages Functions
    • KV Storage
    • Edge AI
    • API Token
    • EdgeOne CLI
    • Pages MCP
    • Integration Guide
      • Database
        • Supabase Integration
        • Pages KV Integration
      • Ecommerce
        • Shopify Integration
        • WooCommerce Integration
      • Payment
        • Stripe Integration
        • Integrating Paddle
      • CMS
        • WordPress Integration
        • Contentful Integration
        • Sanity Integration
      • Authentication
        • Supabase Integration
        • Clerk Integration
    • Best Practices
      • Use the Deepseek-R1 model to quickly build a conversational AI site
      • Building an Ecommerce Platform with WordPress + WooCommerce and GatsbyJS
      • Building a SaaS Site Using Supabase and Stripe
      • Building a Company Brand Site Quickly
      • How to Quickly Build a Blog Site
    • Migration Guides
      • Migrating from Vercel to EdgeOne Pages
      • Migrating from Cloudflare Pages to EdgeOne Pages
      • Migrating from Netlify to EdgeOne Pages
    • Troubleshooting
    • FAQs
    • Contact Us
    • Release Notes

Importing a Git Repository

In this section, you will deploy the project to the Pages platform via Git repository import.

Pages currently supports access from Git providers such as Github and Gitee. The following uses Github access method as an example:


Connecting a Git Repository

The first step in deploying your web application is to connect your Git repository. EdgeOne Pages seamlessly integrates with version control platforms, enabling smooth synchronization between your development workflow and the deployment process.
To connect your repository:
Sign in: You can use a Gmail Account to quickly register and log in to the Tencent Cloud Console.
Get Started: Click on Get Started on the homepage.
Bind Github: On the console page, click "Github" to link your repository.


Authorize Github: Grant EdgeOne access to your repository.


Select repository: Select the repository to deploy or authorize all repositories.



Custom Build

Once your repository is connected, you'll need to configure your build settings. This step is crucial for ensuring that your project is compiled and prepared correctly for deployment.
To customize your build:
Select repository: Select the repository to deploy.




Enter build command: Input your build command. If unsure, please check the scripts section in package.json.


Select acceleration region: Different regions determine node resources assigned to the project as well as whether ICP Filing Registration is required when adding custom domains. For details, refer to Domain Name Management - Acceleration Region.



Global Deployment

With your repository connected and build settings configured, you're ready to deploy your application globally.
To initiate deployment:
Review your settings to ensure everything is correct.
Start Deployment: Click Start Deployment.


EdgeOne Pages will auto-build your project and deploy it to the Global Edge Network.

The figure below indicates deployment success.




When new submissions are pushed to the deployment branch, EdgeOne will automatically pull and deploy the latest submission.




By following these steps, you can quickly and easily deploy your web application using EdgeOne Pages, taking advantage of its powerful edge network and streamlined workflow.


Handling Unexpected Circumstances

If the deployed version differs from the repository, please ensure to pull the latest version.
For other issues, please contact us via the feedback channel in the bottom-right corner.