This repository is a playground to play with the possibilities of github action workflows and building a deployment pipeline on top of it.
Inspired by this article on the github blog: https://github.blog/2022-02-02-build-ci-cd-pipeline-github-actions-four-steps/
The most interesting Workflow is the release Workflow - see Actions · bkleinen/github-actions-pipeline-playground The "Semantic Release" job depends on four other jobs, 2 of them in development.yml It represents the deployment pipeline with
- release.yml is triggered by push on master
- development.yml is triggered by push in PR, and used in release.yml
- CodeQL runs quietly for all pushes but is not a precondition in the deployment pipeline.
- check out the original version of the release.yml for storing and reusing docker images: open-sauced/release.yml at main · aaronwinston/open-sauced
- GitHub Actions Documentation - GitHub Docs
- Workflow commands for GitHub Actions - GitHub Docs
- Reusing workflows - GitHub Docs
Pass values between workflows: