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
      • Error Codes
    • Build Guide
    • Deployment Guide
      • Overview
      • Create Deploys
      • Manage Deploys
      • Deploy Button
    • Domain Management
      • Overview
      • Custom Domain Name
      • Configuring an HTTPS Certificate
      • How to Configure a DNS CNAME Record
    • Pages Functions
    • KV Storage
    • Edge AI
    • EdgeOne CLI
    • Pages MCP
    • 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
      • Combining Sanity to Deploy a Portfolio Template
    • 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
Unlock 1 Year of EdgeOne + 1TB CDN: Join Our Developer Journey
Get Started Now !

Direct Upload

You can directly upload the assets after project building to Pages and deploy them to the EdgeOne global network. If you want to integrate your own build platform or upload from a local computer, you should select direct upload rather than importing a Git repository.
Notes:
If you select direct upload, you will be unable to switch to Git integration later. You must create a new project with Git integration to use automatic deployment.


Project Creation

Select "Direct Upload" by "Create Project" on the Pages console homepage.


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

Click "Start Deployment". After the asset is uploaded, the project will start to be created. Subsequently, navigate 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 creating a deployment on the deployment page.

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

Notes:
Production environment: Update to the online website for user access, effective immediately.
Preview environment: Verify changes in an isolated environment without affecting formal data.


Upload Limit

The number of assets in the project is limited to 1000, and the single file size is 25 MB.
If the limit is exceeded, a red warning will appear in the upload area. You can adjust the project assets and re-upload.


Supported File Types

Direct upload currently supports a single ZIP compressed package or a single folder.


Functions and Edgeone.Json

Direct upload also supports Pages Functions and the project configuration file edgeone.json. You just need to place the functions folder containing the functions and edgeone.json in the root directory.

For more information about functions, view Pages Functions Documentation.
Notes:
For the direct upload method, the edgeone.json file only supports settings for the fields of redirects, rewrites, headers, and caches. For details, see edgeone.json Documentation.