What does `concurrency` do in a deploy workflow and why does it matter?
BeginnerProductionGitHub Actions, environments and releases in production
Answer
It serialises runs in a group so only one deploy per environment runs at a time. For deploys set cancel-in-progress: false so a running deployment is never killed halfway.
concurrency:
group: deploy-production
cancel-in-progress: false
More on GitHub Actions, environments and releases in production
How do you structure workflows for a typical service (build, test, deploy)?BeginnerHow do reusable workflows differ from composite actions and when do you use each?IntermediateHow do you speed up slow GitHub Actions pipelines?IntermediateDesign a progressive delivery pipeline from merge to production using GitHub Actions and environments.AdvancedHow do you manage secrets and variables across org, repo and environment levels?IntermediateHow do you automate versioning and release notes?Intermediate