Skip to content

Commit 02f9243

Browse files
committed
chore: use env id
1 parent 433c0b2 commit 02f9243

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
url: ${{ env.BYTEBASE_URL }}
7373
token: ${{ steps.login.outputs.token }}
7474
plan: ${{ steps.create_plan.outputs.plan }}
75-
target-stage: 'Test Stage'
75+
target-stage: test # the environment resource id.
7676
- name: Deploy app
7777
run: |
7878
echo "Deploying app to test environment..."
@@ -102,7 +102,7 @@ jobs:
102102
url: ${{ env.BYTEBASE_URL }}
103103
token: ${{ steps.login.outputs.token }}
104104
plan: ${{ needs.deploy_to_test.outputs.bytebase_plan }}
105-
target-stage: 'Prod Stage'
105+
target-stage: prod # the environment resource id.
106106
- name: Deploy app
107107
run: |
108108
echo "Deploying app to prod environment..."

0 commit comments

Comments
 (0)