Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 662be14

Browse files
promote
1 parent 586dac3 commit 662be14

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ jobs:
1414
if: github.event.inputs.confirm_promotion == 'promote'
1515

1616
env:
17-
APP_NAME: react-webpack-rails-tutorial
18-
CPLN_ORG: ${{ secrets.CPLN_ORG }}
19-
UPSTREAM_TOKEN: ${{ secrets.STAGING_TOKEN }}
17+
APP_NAME: ${{ vars.PRODUCTION_APP_NAME }}
18+
CPLN_ORG: ${{ secrets.CPLN_ORG_PRODUCTION }}
19+
CPLN_TOKEN: ${{ secrets.CPLN_TOKEN_PRODUCTION }}
20+
UPSTREAM_TOKEN: ${{ secrets.CPLN_TOKEN_STAGING }}
2021

2122
steps:
2223
- name: Checkout code
@@ -30,7 +31,7 @@ jobs:
3031
- name: Promote Staging to Production
3132
id: promote
3233
run: |
33-
echo "🚀 Starting promotion from staging to production..."
34+
echo "🚀 Starting promotion from staging to production... for app ${APP_NAME}"
3435
3536
if ! cpflow promote-app-from-upstream -a "${APP_NAME}" -t "${UPSTREAM_TOKEN}" --org "${CPLN_ORG}"; then
3637
echo "❌ Failed to promote staging to production"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /