Use this Github Action to deploy a project on Zeet.
Note: you probably want to enable Manual Deploys so that Zeet doesn't automatically rebuild your project on every commit:
steps:
- name: Deploy project
uses: zeet-co/zeet-deploy-action@v2
with:
deploy_key: ${{ secrets.ZEET_TOKEN }}
project: zeet-demo/zeet-demo-node
image: nginx:1.20
Name | Description | Required |
---|---|---|
api_url | The Zeet API URL | No |
deploy_key | Zeet API Key: Create by going to https://zeet.co/account/api, or to Dashboard > Team Settings > API Keys > New API Key. | Yes |
project | The project name | Yes (or use project_id) |
project_id | The project id | Yes (or use project) |
image | The Docker image to run | No (defaults to building the latest commit) |
branch | The branch to deploy to | No (default false) |
wait | Wait for the deploy to finish, while streaming its output | No (default false) |
link
: the link to the deployment in the Dashboard