- What is Github Actions
- How to configure Github workflow in your repo ?
- Run workflow on existing github hosted runners.
In this workflow, we will cover below points
- Run when push on s3 folder
- use a build matrix if you want your workflow to run tests across multiple combinations of operating systems, platforms, and languages.
- Use of matrix to run the workflow for different environments or even you can set different variables as per the environment if needed
- Connect to AWS account using Github secrets
- Use of
workflow-dispatch
to trigger the workflow manually - Use of
max-parallel
to run the job for both the environments in parallel - Set working directory to any of your subfolder
In this workflow, we will see how to configure a particular step to run only when there is a push to main branch