As this project is in very early days, the workflow is pretty hardcoded right now. It's based on GitHub Flow, with a couple of extra items; this is all the moments a deployment is triggered:
- As soon as a PR is created the
headRef
of that PR is built, and the build is linked in a comment on the PR - Each subsequent push to a branch with an open PR triggers a rebuild of that
PR
environment - Each push to
main
(usually a merge from a PR) triggers a build of thePreview
environment - Each push to any branch with a name starting with
release
(e.g.release/v1.3
) triggers a build to thetest
environment - Manual triggers from Slack can trigger builds to
staging
of anything that's already been built totest
- Pushing tags with names starting with a
v
or a digit (e.g.v1.3
or1.3.4
) will trigger a build to theproduction
environment