Commit 45f5f3e
committed
Prevent concurrent deployments from the deploy.yml workflow
This avoids running the workflow for every push, so that we don't do
redundant work that will be replaced immediately by a later deployment.
If an existing deploy workflow is running, pushing new commits will not
run the deploy workflow for the new commits until the first workflow
finishes. If more than one new push happens while the workflow is
running, the workflow will only be run for the last push.
Also add 'workflow_dispatch:' to allow running the workflow manually.1 parent 7b70b25 commit 45f5f3e
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
10 | 19 | | |
11 | 20 | | |
12 | 21 | | |
| |||
0 commit comments