Commit bfd5a2a
ci: Restrict deployments of environments to PR merges (#1960)
* Split the docs workflow into a build and deploy jobs, where the deploy
job requires the build job to succeed. This avoids unnecessary deployments
by only having the github-pages environment exist in the deploy job.
* Constrain the deployment of environments to PR merges by requiring push
events on master to trigger the deploy job.
Co-authored-by: Giordon Stark <[email protected]>1 parent 868c27d commit bfd5a2a
1 file changed
+22
-15
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 | 10 | | |
17 | 11 | | |
18 | 12 | | |
19 | 13 | | |
20 | 14 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 15 | + | |
| 16 | + | |
26 | 17 | | |
27 | 18 | | |
28 | 19 | | |
| |||
88 | 79 | | |
89 | 80 | | |
90 | 81 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 82 | | |
95 | 83 | | |
96 | 84 | | |
97 | 85 | | |
98 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
99 | 107 | | |
100 | | - | |
101 | 108 | | |
102 | 109 | | |
0 commit comments