cicd-test
note
- 當 steps 中的某一個 step 的 exit code 不是 0 的時候,就會中斷,例如故意製造測試失敗, exit code 1,就會中斷,後面不會繼續部署
- jobs 之間可以做成相依性
- 當 commit message 中有某個關鍵字時,可以跳過 job
references
https://medium.com/ryanjang-devnotes/ci-cd-hands-on-github-actions-docker-hub-aws-ec2-ba09f80297e1