File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -13,24 +13,21 @@ jobs:
13
13
runs-on : ubuntu-latest
14
14
if : github.event.inputs.confirm_promotion == 'promote'
15
15
16
- env :
17
- APP_NAME : ${{ vars.STAGING_APP_NAME }}
18
- UPSTREAM_TOKEN : ${{ secrets.CPLN_TOKEN_STAGING }}
19
-
20
16
steps :
21
17
- name : Checkout code
22
18
uses : actions/checkout@v4
23
19
24
20
- name : Setup Environment
25
21
uses : ./.github/actions/setup-environment
26
- env :
27
- CPLN_TOKEN : ${{ secrets.CPLN_TOKEN_PRODUCTION }}
22
+ with :
23
+ token : ${{ secrets.CPLN_TOKEN_PRODUCTION }}
24
+ org : ${{ vars.CPLN_ORG_PRODUCTION }}
28
25
29
26
- name : Copy Image from Staging
30
- run : cpflow copy-image-from-upstream -a "${APP_NAME} " -t "${UPSTREAM_TOKEN }" -v
27
+ run : cpflow copy-image-from-upstream -a "${{ vars.STAGING_APP_NAME }} " -t "${{ secrets.CPLN_TOKEN_STAGING } }" -v
31
28
32
29
- name : Deploy Image to Production
33
- run : cpflow deploy-image -v
30
+ run : cpflow deploy-image -v --run-release-phase
34
31
35
32
- name : Create GitHub Release
36
33
if : success()
You can’t perform that action at this time.
0 commit comments