File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 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
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"
You can’t perform that action at this time.
0 commit comments