Only show guides for your app
Make your server deploy each push on Premium, pull a public repository on a schedule on any plan, choose what happens after a deploy and roll back.
Once deploying from Git works, your server can deploy on its own. A repository linked from your account deploys each push to its branch when Auto-deploy is on, and a repository linked by URL can be pulled on a schedule instead.
How you linked the repository decides it.
Falix adds a push webhook to the repository when you link it. With Auto-deploy on, every push to the linked branch starts a deploy. Pushes to other branches are ignored.
Auto-deploy stays greyed out for a repository linked by URL, because it has no webhook. Scheduled auto-pull on the Settings tab checks for new commits Every hour, Every 6 hours, Every 12 hours or Every day, and deploys what it finds.
On a free server, the Auto-deploy switch opens an upgrade prompt instead of turning on. You can still deploy each push yourself with the deploy button, and scheduled pulls work on every plan.
Mia's bot lives in mia/welcome-bot, linked from her GitHub account to a Premium server.
A deploy copies files, and your app keeps running the old code until it restarts. Post-deploy action in the Deployment card decides what happens next, for automatic and manual deploys alike. It starts at None.
| Action | When to use it |
|---|---|
| Restart server | Most apps. The server restarts and runs the new code |
| Start server | The server is usually stopped and the deploy should start it |
| Stop server | The deploy should leave the server stopped |
| None | You want to look before you restart by hand |
| Kill server or Hard restart (kill and start) | A normal restart doesn't end the old process |
If your project has to compile first, add Post-deploy commands too (Build steps on deploy).
The Auto-deploy rules card on the Settings tab narrows it down. It's there for repositories linked from an account.
| Rule | What it does |
|---|---|
| Wait for checks to pass | A push deploys only once its checks succeed, and a failed check stops the deploy |
| Only when these paths change | Pushes that don't touch these paths are skipped. Leave it empty to deploy on any change |
| Skip keyword | Commits whose message contains it never deploy, such as [skip deploy] |
| Deploy new tags | A new tag that matches, such as v*, deploys even if it isn't on the branch |
| Show deploys on GitHub | Marks each commit with its deploy status. It says GitLab for a GitLab repository |
| Pull request previews | Deploys each open pull request to its own instance of the server, leaving out pull requests from forks |
The Connection tab shows Auto-deploy as Enabled, Disabled or Manual only, and the Webhook as Active or Not configured.
If pushes stop deploying, press Reinstall to replace the webhook on the provider, or Send test to have the provider deliver a test event. When the webhook is Not configured, the tab shows a Webhook URL and Webhook secret that you can add to the repository's settings yourself.
On Deployments, pick the last deploy that worked and press Roll back. Falix deploys that commit again and lists the run as Rollback. Fix the branch before your next push, because Auto-deploy deploys the new tip as soon as it arrives.
| What you see | Usual cause | Fix |
|---|---|---|
| "Auto-deploy is off, so pushes to main won't deploy" on Deployments | The switch is off | Switch on Auto-deploy on the Settings tab |
| A push to another branch didn't deploy | Only the linked branch deploys | Push to that branch, or change Branch |
| A push didn't deploy and the webhook says Not configured | The webhook couldn't be installed | Press Reinstall, or add the webhook yourself |
| A push is stuck on Waiting for checks | Wait for checks to pass is on and the checks are still running | Wait for them, or fix the failing check |
| The new code deployed but the old code still runs | Post-deploy action is None | Set it to Restart server |