The simplest workflow deploys your API to Zuplo on every push to main.
.github/workflows/deploy.yaml
This workflow:
- Triggers on pushes to the
mainbranch - Checks out your code
- Installs dependencies (including the Zuplo CLI)
- Deploys to Zuplo using the branch name as the environment name
Since this deploys from main, it updates your production environment.
Next Steps
- Add testing after deployment
- Set up PR preview environments
- Implement tag-based releases for more control
Last modified on