Using GitHub Actions for CI/CD pipelines
GitHub Actions is a CI/CD service offered by GitHub that provides a platform for you to implement automation around your source control management process no matter what workflow you choose.
In order to hook into GitHub Actions, you need to define YAML files that specify the tasks that you want to be automated. These files are called workflows and they are stored in the .github/workflows
directory of your source code repository. The basic anatomy of a workflow consists of jobs. Jobs have steps. Steps can be a simple script that you execute or something more complex packaged together called an action:
jobs: build: runs-on: ubuntu-latest # The type of runner (virtual machine) that the job will run on steps: - name: Checkout code # Name of the step uses: actions/checkout@v2 # Use a pre-built action to checkout the current...