Skip to content

Commit 5a3f129

Browse files
committed
Update both step to env prod
1 parent 866afbd commit 5a3f129

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release-please.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ name: release-please
77
jobs:
88
release-please:
99
runs-on: ubuntu-latest
10+
environment:
11+
name: prod
1012
outputs:
1113
releases_created: ${{ steps.release.outputs.releases_created }}
1214
steps:
@@ -20,10 +22,8 @@ jobs:
2022
publish-release:
2123
needs: release-please
2224
runs-on: ubuntu-latest
23-
2425
environment:
2526
name: prod
26-
2727
if: ${{ needs.release-please.outputs.releases_created }}
2828
steps:
2929
- name: Build and test

0 commit comments

Comments
 (0)