Testing out GitHub features that require a public repository.
The .github/workflows/environment-test.yml
workflow experiements with a deployment pipeline that branches between requiring a manual confirmation or being fully automatic, depending on the output of the first job in the workflow. With regards to manual approvals, CircleCI also has something similar it seems.
Check out the flow charts in the following cases:
A deployment that required a manual confirmation
A deployment that was fully automated
Output of first job was invalid (makes sure we don't think a deployment has run when none has been triggered)
How it looks to trigger a workflow manually, from https://github.com/famly/public-playground/actions/workflows/deployment-test.yml: