Build & deploy
Project settings
Every setting on a project, and which ones trigger a redeploy.
Open a project and choose Settings.
| Setting | What it does |
|---|---|
| Name | The label shown in your dashboard. Your project address does not change when you rename it. |
| Instance type | The size of the project (START, PRO or ENTERPRISE). See Plans and billing. |
| Repository and branch | Where the code comes from (GitHub projects). You can switch repository or branch at any time. |
| Root directory | The folder inside the repository that contains your app. Leave empty if your app is at the top level. Useful for monorepos. |
| Build command | Runs once per deployment, for example npm ci && npm run build. |
| Run command | Starts your app, for example npm start. Not used by static sites. |
| Output folder | Static sites only. The folder that contains the finished site. Leave empty to detect it automatically (dist, build, out, public…). |
| Environment variables | Settings and secrets your app reads. See Environment variables. |
Save changes versus Redeploy#
- Save changes stores your settings. If you changed something that affects the running app (commands, environment variables, repository, branch, output folder or plan), a redeploy starts automatically so the change takes effect.
- Redeploy rebuilds now with the settings you have already saved and the latest code from your branch. Use it after pushing code, or to restart with a clean build.
- For Builder projects the button is Deploy latest. It publishes whatever you last saved in the Builder.
Only one deployment of a project runs at a time. If you press the button again while one is in progress, you are shown the deployment that is already running.