Skip to content

Commit 6cc50d0

Browse files
committed
newenv
1 parent 2dd25c6 commit 6cc50d0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/promote-staging-to-production.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,18 @@ jobs:
2020
- name: Setup Environment
2121
uses: ./.github/actions/setup-environment
2222
with:
23-
token: ${{ secrets.CPLN_TOKEN_PRODUCTION }}
24-
org: ${{ vars.CPLN_ORG_PRODUCTION }}
23+
token: ${{ secrets.CPLN_TOKEN_STAGING }}
24+
org: ${{ vars.CPLN_ORG_STAGING }}
2525

2626
- name: Copy Image from Staging
2727
run: cpflow copy-image-from-upstream -a "${{ vars.STAGING_APP_NAME }}" -t "${{ secrets.CPLN_TOKEN_STAGING }}" --verbose
2828

29+
- name: Setup Environment
30+
uses: ./.github/actions/setup-environment
31+
with:
32+
token: ${{ secrets.CPLN_TOKEN_PRODUCTION }}
33+
org: ${{ vars.CPLN_ORG_PRODUCTION }}
34+
2935
- name: Deploy Image to Production
3036
run: cpflow deploy-image -v --run-release-phase
3137

0 commit comments

Comments
 (0)