An example workflow, using the GitHub Action for Zeit Now to deploy a static website, octozen.now.sh.
The example workflow will trigger on every push to this repo.
For pushes to a feature branch, the workflow will:
- Trigger a new deployment using the
now
cli - Set up a unique alias for that deployment, based on the SHA of the most recent commit on the Git ref that was pushed
For pushes to the default branch (master
), in addition to the above Actions, the workflow will:
- Set up a global alias, based on the
now.json
configuration
This repository is licensed under CC0-1.0, which waives all copyright restrictions.