Skip to content

Commit 16b3b8f

Browse files
committed
attempt3
1 parent 6cc50d0 commit 16b3b8f

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

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

+3-9
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,15 @@ jobs:
1717
- name: Checkout code
1818
uses: actions/checkout@v4
1919

20-
- name: Setup Environment
21-
uses: ./.github/actions/setup-environment
22-
with:
23-
token: ${{ secrets.CPLN_TOKEN_STAGING }}
24-
org: ${{ vars.CPLN_ORG_STAGING }}
25-
26-
- name: Copy Image from Staging
27-
run: cpflow copy-image-from-upstream -a "${{ vars.STAGING_APP_NAME }}" -t "${{ secrets.CPLN_TOKEN_STAGING }}" --verbose
28-
2920
- name: Setup Environment
3021
uses: ./.github/actions/setup-environment
3122
with:
3223
token: ${{ secrets.CPLN_TOKEN_PRODUCTION }}
3324
org: ${{ vars.CPLN_ORG_PRODUCTION }}
3425

26+
- name: Copy Image from Staging
27+
run: cpflow copy-image-from-upstream -a "${{ vars.PRODUCTION_APP_NAME }}" -t "${{ secrets.CPLN_TOKEN_STAGING }}" --verbose --trace
28+
3529
- name: Deploy Image to Production
3630
run: cpflow deploy-image -v --run-release-phase
3731

0 commit comments

Comments
 (0)