File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,13 +66,13 @@ jobs:
6666 check-plan : " SKIP"
6767 - name : Rollout
6868 id : rollout
69- uses : bytebase/rollout-action@v1
69+ uses : bytebase/rollout-action@v2
7070 if : ${{ steps.create-plan.outputs.deployment-required == 'true' }}
7171 with :
7272 url : ${{ env.BYTEBASE_URL }}
7373 token : ${{ steps.login.outputs.token }}
7474 plan : ${{ steps.create-plan.outputs.plan }}
75- target-stage : test # the environment resource id .
75+ target-stage : environments/ test # the stage environment .
7676 - name : Deploy app
7777 run : |
7878 echo "Deploying app to test environment..."
@@ -97,12 +97,12 @@ jobs:
9797 service-secret : ${{secrets.BYTEBASE_SERVICE_ACCOUNT_SECRET}} # Please use secrets for sensitive data in production.
9898 - name : Rollout
9999 id : rollout
100- uses : bytebase/rollout-action@v1
100+ uses : bytebase/rollout-action@v2
101101 with :
102102 url : ${{ env.BYTEBASE_URL }}
103103 token : ${{ steps.login.outputs.token }}
104104 plan : ${{ needs.deploy-to-test.outputs.bytebase-plan }}
105- target-stage : prod # the environment resource id .
105+ target-stage : environments/ prod # the stage environment .
106106 - name : Deploy app
107107 run : |
108108 echo "Deploying app to prod environment..."
You can’t perform that action at this time.
0 commit comments