• Product Introduction
  • Quick Start
    • Importing a Git Repository
    • Starting From a Template
    • Direct Upload
    • Start with AI
  • Framework Guide
    • Frontends
      • Overview
      • Vite
    • Backends
    • Full-stack
      • Next.js
      • Nuxt
      • Astro
      • React Router
      • SvelteKit
    • 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 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
  • KV Storage
  • Edge AI
  • API Token
  • EdgeOne CLI
  • Pages MCP
  • 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
    • 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

Create Deploys

This section will introduce several different ways to create the deploy of Pages projects.


Git Auto-Trigger Deployment

After associating a Pages project with a Git repository, the system will automatically listen for push events and trigger deployment. Currently, only submissions from the master branch will automatically trigger deployment by default.

Manual Triggering Deployment

In the Pages console, you can manually trigger deployment in the following ways:
Click the "Redeploy" button in the Project List to rebuild the latest deployment configuration.
Select a specific deployment record from the build deployment record for redeployment.

Webhook

Besides the above methods, you can also trigger deployments through webhook. Each trigger event is a unique URL that initiates a new deployment via an HTTP POST request. This feature allows you to integrate Pages into your workflow.

Use cases:
Automatically build and deploy when the content in the headless CMS changes.
Implement a fully custom CI/CD process and perform deployment only when specific conditions are met.
Set a scheduled task to update the website at a fixed time.
Trigger deployment through a third-party service, such as auto-update after payment is successful.

Directions:
1. Enter the console, open the project settings page, and find the "Webhook" module.
2. Click "Create a new webhook", enter the name, select the branch, and then click "Confirm".
3. After creation, you can call the API via a POST request within the project to trigger the deployment of the corresponding branch.
Warning:
Webhook are uniquely associated with your project and do not require additional authentication. Please ensure these URLs are properly protected to avoid leakage. If unauthorized usage is suspected, immediately delete and regenerate the hooks.

Integrating webhook with common CMS platforms

The integration methods vary for each CMS provider. Following is a step-by-step guide using Ghost as an example.
You can configure your Ghost website to trigger the deployment of EdgeOne Pages by creating a new custom integration. In the settings of your Ghost website, go to the integration page and create a new custom integration.

Each custom integration can attach multiple webhooks. Select "Add Webhook" and set the event to "Post Published". Then, paste your unique deployment hook URL into the target URL. After creating this webhook, EdgeOne Pages application will automatically redeploy whenever your Ghost website publishes an article.


ai-agent
You can ask me like
How to Get Started with EdgeOne Pages?