Superseded Deploys
Two pushes to main a minute apart start two deploy runs at once, and they race. Which setting makes the newer run wait for, or replace, the older one?
main
Choose one answer
needs: deploy on the deploy job itself.
needs: deploy
timeout-minutes: 10 on every job, so an older run is always finished first.
timeout-minutes: 10
strategy: { max-parallel: 1 } on the deploy job.
strategy: { max-parallel: 1 }
A concurrency group (optionally cancel-in-progress).
concurrency
cancel-in-progress