Skip to content

Commit c31e3d8

Browse files
committed
Fixed conflicts
1 parent 151c527 commit c31e3d8

File tree

4 files changed

+8
-22
lines changed

4 files changed

+8
-22
lines changed

.github/workflows/delete-review-app.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
env:
1616
CPLN_ORG: ${{ secrets.CPLN_ORG }}
17-
CPLN_TOKEN: ${{ secrets.CPLN_TOKEN }}
17+
CPLN_TOKEN: ${{ secrets.CPLN_TOKEN_STAGING }}
1818
APP_NAME: qa-react-webpack-rails-tutorial-pr-${{ github.event.pull_request.number || github.event.issue.number }}
1919
PR_NUMBER: ${{ github.event.pull_request.number || github.event.issue.number }}
2020

@@ -34,7 +34,7 @@ jobs:
3434
- name: Validate Required Secrets
3535
run: |
3636
missing_secrets=()
37-
for secret in "CPLN_TOKEN" "CPLN_ORG"; do
37+
for secret in "CPLN_TOKEN_STAGING" "CPLN_ORG_STAGING"; do
3838
if [ -z "${!secret}" ]; then
3939
missing_secrets+=("$secret")
4040
fi
@@ -122,7 +122,7 @@ jobs:
122122
org: ${{ env.CPLN_ORG }}
123123
github_token: ${{ secrets.GITHUB_TOKEN }}
124124
env:
125-
CPLN_TOKEN: ${{ secrets.CPLN_TOKEN }}
125+
CPLN_TOKEN: ${{ secrets.CPLN_TOKEN_STAGING }}
126126

127127
- name: Update Delete Status
128128
if: always()

.github/workflows/deploy-to-control-plane.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ concurrency:
1616
cancel-in-progress: true
1717

1818
env:
19-
CPLN_ORG: ${{ secrets.CPLN_ORG }}
20-
CPLN_TOKEN: ${{ secrets.CPLN_TOKEN }}
19+
CPLN_ORG: ${{ secrets.CPLN_ORG_STAGING }}
20+
CPLN_TOKEN: ${{ secrets.CPLN_TOKEN_STAGING }}
2121

2222
jobs:
2323
Process-Deployment-Command:

.github/workflows/help-command.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -42,35 +42,21 @@ jobs:
4242
'- Provides a unique URL to preview your changes',
4343
'- Shows build and deployment progress in real-time',
4444
'',
45-
'**Required Environment Variables:**',
46-
'- `CPLN_TOKEN`: Control Plane authentication token',
47-
'- `CPLN_ORG`: Control Plane organization name',
48-
'',
49-
'**Optional Configuration:**',
50-
'- `WAIT_TIMEOUT`: Deployment timeout in seconds (default: 900)',
51-
' - Must be a positive integer',
52-
' - Can be set in GitHub Actions variables',
53-
' - Applies to both deployment and workload readiness checks',
54-
'',
5545
'### `/delete-review-app`',
5646
'Deletes the review app associated with this PR.',
5747
'- Removes all resources from Control Plane',
5848
'- Helpful for cleaning up when you\'re done testing',
5949
'- Can be re-deployed later using `/deploy-review-app`',
6050
'',
61-
'**Required Environment Variables:**',
62-
'- `CPLN_TOKEN`: Control Plane authentication token',
63-
'- `CPLN_ORG`: Control Plane organization name',
64-
'',
6551
'### `/help`',
6652
'Shows this detailed help message.',
6753
'',
6854
'---',
6955
'## Environment Setup',
7056
'',
7157
'1. Set required secrets in your repository settings:',
72-
' - `CPLN_TOKEN`',
73-
' - `CPLN_ORG`',
58+
' - `CPLN_TOKEN_STAGING`',
59+
' - `CPLN_ORG_STAGING`',
7460
'',
7561
'2. Optional: Configure `WAIT_TIMEOUT` in GitHub Actions variables to customize deployment timeout',
7662
'',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup Environment
2626
uses: ./.github/actions/setup-environment
2727
env:
28-
CPLN_TOKEN: ${{ secrets.CPLN_TOKEN }}
28+
CPLN_TOKEN: ${{ secrets.CPLN_TOKEN_STAGING }}
2929

3030
- name: Promote Staging to Production
3131
id: promote

0 commit comments

Comments
 (0)