For simple projects you may only need a single production environment that you deploy to directly any time a change is made. For other projects, you might prefer to deploy to a staging environment to verify everything is working before deploying to production. Whatever your workflow, Pagefront makes it easy.
Every Pagefront app has three environments available to it: production, staging, and development. If you have an app named example-app, these three environments will live at https://example-app.pagefrontapp.com, https://example-app.staging.pagefrontapp.com, and https://example-app.development.pagefrontapp.com, respectively.
Deploying to an Environment
To deploy to an environment, simply specify which environment you want:
ember deploy staging
Releases will show up in the dashboard grouped by environment so you can quickly see what release is currently live for a given environment:
Custom Environment Domains
Pagefront allows you to specify custom domains for every environment. See the guide on adding custom domains for more information.