atoll deploy from a workflow instead. This guide sets that up.
1. Create a token
- In the panel, open Account and create a personal access token, for example “GitHub Actions”.
- Copy the secret. It is shown once.
atoll orgs switch, so if the first deploy should create the project in a team’s org, add --org <slug> to the deploy command.
2. Store it in GitHub
In your repository on GitHub, open Settings → Secrets and variables → Actions and add:3. Add the workflow
.github/workflows/deploy.yml:
ATOLL_CLI_URL as a repository variable with its URL.
4. Read the result
atoll deploy waits for the deployment and exits with a code GitHub understands:
A
PARTIAL deployment fails the job even though some targets are live. If you would rather pass on PARTIAL, allow exit code 2:
Tips
- Pass
--nameso the project name does not depend on the checkout directory. - Use the GitHub App instead if you want a preview per pull request without writing a workflow.
- Keep the token’s expiry short and rotate it. Revoke it in Account if it leaks.