- Fork the repo
- Clone the repo:
git clone https://github.com/{username}/CICD_Pipeline_Training
- Create new branch to work on:
git checkout -b feature/pipeline
- Push this branch to the repo:
git push --set-upstream origin feature/pipeline
- Create new folder in the project:
.github
and then create folder:workflows
in it
- In
.github/workflows
create fileci_cd.yaml
- Start by naming your new pipeline:
name: Your name of choice
- Determine when this pipeline should trigger:
on:...
- Create jobs which should be done in this pipeline:
jobs:...
- In
.github/workflows
create filec_deployment.yaml
- Start by naming your new pipeline:
name: Your name of choice
- Determine when this pipeline should trigger:
on:...
- Create jobs which should be done in this pipeline:
jobs:...