Skip to content

Commit 4cdc09b

Browse files
committed
Fix the environment used during deploy
The environment being pushed to is determined by the step and not by the output environment. For instance, when publishing a stable release, it should be published: - To the beta repository as a beta deployment - To the stable repository as a stable deployment Before this change it would publish to the beta repository as a stable deployment (environment=stable).
1 parent bf24a85 commit 4cdc09b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/app-deploy.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ jobs:
202202
- information
203203
- deploy
204204
environment:
205-
name: ${{ needs.information.outputs.environment }}
205+
name: edge
206206
runs-on: ubuntu-latest
207207
steps:
208208
- name: 🚀 Dispatch repository updater update signal
@@ -228,7 +228,7 @@ jobs:
228228
- information
229229
- deploy
230230
environment:
231-
name: ${{ needs.information.outputs.environment }}
231+
name: beta
232232
runs-on: ubuntu-latest
233233
steps:
234234
- name: 🚀 Dispatch repository updater update signal
@@ -252,7 +252,7 @@ jobs:
252252
- information
253253
- deploy
254254
environment:
255-
name: ${{ needs.information.outputs.environment }}
255+
name: stable
256256
runs-on: ubuntu-latest
257257
steps:
258258
- name: 🚀 Dispatch repository updater update signal

0 commit comments

Comments
 (0)