Edge Developer Platform
  • Pages
    • Product Introduction
    • Quick Start
      • Importing a Git Repository
      • Starting From a Template
    • Framework Guide
    • Project Guide
      • Project Management
      • edgeone.json
      • Error Codes
    • Build Guide
    • Deployment Guide
    • Domain Management
    • Pages Functions
    • KV Storage
    • Edge AI
    • EdgeOne CLI
    • Best Practices
      • 1-Minute Quick Deployment + Free Beta Test in Progress | Your Exclusive DeepSeek, Handled by EdgeOne!
      • Deploy WordPress Gatsby To EdgeOne Pages
      • Build an Ecommerce Platform Using WordPress + GatsbyJS
    • Migration Guides
      • Migrating from Vercel to EdgeOne Pages
      • Migrating from Cloudflare Pages to EdgeOne Pages
      • Migrating from Netlify to EdgeOne Pages
    • FAQs
    • Contact Us
    • Release Notes

Importing a Git Repository

In this section, you will deploy the project to the Pages platform by importing a Git repository.

Currently, Pages supports access from Git providers such as Github, Coding, and Gitee. Following is an example of accessing via Github:


Connecting 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:
Registration/Login: You can use a Gmail account to quickly register and log in to Tencent Cloud Console.
Get Started: Click on Get Started on the homepage.
Bind Github: On the console page, click "Github" to link your warehouse.




Authorize Github: Grant EdgeOne permission to access your repository.




Select warehouse: Select the warehouse you want to deploy or authorize all warehouses.





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 warehouse: Select the warehouse you want to deploy.




Enter build command: Enter your build command. If uncertain, please check the value in the scripts part of package.json.


Select acceleration region: Different regions determine the node resources assigned to the project, as well as whether ICP Filing Registration is required when adding a custom domain. For details, see 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 following picture indicates deployment success.




When a new submission is 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.


How to Handle Unexpected Circumstances

If the deployed version is different from the repository, please ensure to pull the latest version.
If there are other issues, please contact us through the feedback channel in the bottom-right corner.