EdgeOne Pages

Deploy Nitro apps to EdgeOne Pages.

Preset: edgeone-pages

Read more in pages.edgeone.ai/.

Using the control panel

In the EdgeOne pages control panel, click Create project.

Choose Import Git repository as your deployment method. We support deployment on GitHub, GitLab, Gitee, and CNB.

Choose the GitHub repository and branch containing your application code.

Add NITRO_PRESET environment variable during setup with value edgeone-pages (IMPORTANT).

Click the Deploy button.

Using the EdgeOne CLI

You can also install the Pages scaffolding tool. For detailed installation and usage, refer to EdgeOne CLI.

Once configured, use the edgeone pages deploy command to deploy the project. During deployment, the CLI will first automatically build the project, then upload and publish the build artifacts.