bikebrigade / dispatch

Bike Brigade's dispatching software! 🚴
https://bikebrigade.ca
Apache License 2.0
72 stars 8 forks source link

Make deploys queue instead of running in parallel #373

Closed mveytsman closed 1 month ago

mveytsman commented 1 month ago

I just merged several PRs at once, which triggers a deploy action. If we try to deploy before an ongoing deploy is finished, we get an error (see https://github.com/bikebrigade/dispatch/actions/runs/9209643022 for an example)

This PR adds a setting to the actions to queue them up and wait for the previous deployment to finish so we don't run into this.