Direct Upload
You can upload project build assets directly to Pages and deploy it to the EdgeOne global network. If necessary to integrate your own build platform or upload from a local computer, you should select direct upload rather than import a Git repository.
Note:
Select direct upload and you will be unable to switch to Git integration. You must create a new project with Git integration to use automatic deployment.
Creating Projects
Select "direct upload" in the "create project" section on the Pages console homepage.


After filling in the "project name" and "acceleration region", drag and drop the project assets to the designated region.

Click start deployment. After uploading the assets, the project will start creation and go to the deployment details page. After successful deployment, you can view the project through the preview URL.
Create a New Deployment
After creating a project, you can release a new version by clicking "create deployment" on the deployment page.

Drag and drop the new version asset of the project to the specified region. The deployment environment defaults to "production environment" and can be switched to "preview environment".

Note:
Production environment: update to the online website users access, effective immediately.
Preview environment: verify changes in an isolated environment without affecting official data.
Upload Limit
In direct upload method, the project asset is limited to 20000 files with a single file size of 25MB.
If the limit is exceeded, a red warning will appear in the upload area. You can adjust the project asset and reupload, or use the EdgeOne CLI deploy command to upload. For specific operation method, refer to document.
Note:
Uploading folders with many files may be time-consuming. It is advisable to compress them into a ZIP file to enhance upload speed.
Supported File Types
Direct upload currently enables individually a ZIP compressed package, HTML file, or folder.
Function and Edgeone.Json
Direct upload also supports Pages Functions and the project config file edgeone.json. Just place the edge-functions and node-functions folders as well as edgeone.json in the root directory.

Note:
For direct upload, the edgeone.json file support only redirects, rewrites, headers, and caches field settings. For details, see edgeone.json document.
