• Product Introduction
  • Quick Start
    • Importing a Git Repository
    • Starting From a Template
    • Direct Upload
    • Start with AI
  • Framework Guide
    • Frontends
      • Vite
      • React
      • Vue
      • Other Frameworks
    • Backends
    • Full-stack
      • Next.js
      • Nuxt
      • Astro
      • React Router
      • SvelteKit
      • TanStack Start
      • Vike
    • Custom 404 Page
  • Project Guide
    • Project Management
    • edgeone.json
    • Configuring Cache
    • Error Codes
  • Build Guide
  • Deployment Guide
    • Overview
    • Create Deploys
    • Manage Deploys
    • Deploy Button
    • Using Github Actions
    • Using Gitlab CI/CD
    • Using CNB Plugin
    • Using IDE PlugIn
    • Using CodeBuddy IDE
  • Domain Management
    • Overview
    • Custom Domain
    • HTTPS Configuration
      • Overview
      • Apply for Free Certificate
      • Using Managed SSL Certificate
    • Configure DNS CNAME Record
  • Observability
    • Overview
    • Metric Analysis
    • Log Analysis
  • Pages Functions
    • Overview
    • Edge Functions
    • Cloud Functions
      • Overview
      • Node Functions
  • Middleware
  • KV Storage
  • Edge AI
  • API Token
  • EdgeOne CLI
  • Pages MCP
  • Message Notification
  • Integration Guide
    • AI
      • Dialogue Large Models Integration
      • Large Models for Images Integration
    • Database
      • Supabase Integration
      • Pages KV Integration
    • Ecommerce
      • Shopify Integration
      • WooCommerce Integration
    • Payment
      • Stripe Integration
      • Integrating Paddle
    • CMS
      • WordPress Integration
      • Contentful Integration
      • Sanity Integration
      • Payload Integration
    • Authentication
      • Supabase Integration
      • Clerk Integration
  • Best Practices
    • Using General Large Model to Quickly Build AI Application
    • Use the DeepSeek model to quickly build a conversational AI site
    • Building an Ecommerce Platform with Shopify
    • 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

Overview

This chapter provides detailed deployment steps to help you publish your project to the Pages platform smoothly. Whether you are a beginner or an experienced developer, this guide covers various stages from environment configuration to actual deployment. Following these guidelines, you can efficiently manage project deployment and ensure its stability and availability in a production environment.
Note:
For any new deployment, Pages will automatically create a new and unique URL, and you can use this URL to preview the latest changes of the project.

Deployment Lifecycle

The deployment lifecycle includes stages from development to production:
Local development: You can write code based on your own development habit. It is advisable to pull the latest env file every time before development to ensure use of the latest environment variable.
Submit and push: After task completion, you can push code to the connected Git repository's development branch. Each push will automatically trigger a deployment.
Preview: After successful deployment, Pages will allocate an appropriate domain name for the deployment. You can generate an access link with a validity of three hours through the preview button.
Production: After completing the development cycle, you will eventually merge or commit changes to the production branch (typically main). Pages will re-execute the build and deployment process. Upon completion, your deployment will be automatically assigned a deployment domain name, including any custom domain names you added.
Invalid: When successful deployment records exceed three, Pages will retain build artifacts of the first three deployments in chronological order and mark other successful status deployment records as invalid. Meanwhile, failed deployments will return a 401 status code. You can use the redeploy feature to create a new deployment with the configuration of the failed deployment, thereby restoring access to the failed deployment.
ai-agent
You can ask me like
How to Get Started with EdgeOne Pages?