Skip to content

Commit 9332622

Browse files
committed
updated workflow
1 parent 0631296 commit 9332622

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.github/workflows/deploy-client.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ permissions:
1515
jobs:
1616
deploy:
1717
runs-on: ubuntu-latest
18-
environment: PROD
18+
# REMOVE THIS LINE: environment: PROD
1919

2020
defaults:
2121
run:
@@ -25,20 +25,11 @@ jobs:
2525
- name: Checkout code
2626
uses: actions/checkout@v4
2727

28-
# ADD DEBUG STEP HERE
29-
- name: Debug GitHub Context
28+
- name: Debug Variables
3029
run: |
31-
echo "=== GitHub Context Debug ==="
32-
echo "Repository: ${{ github.repository }}"
33-
echo "Ref: ${{ github.ref }}"
34-
echo "Event: ${{ github.event_name }}"
35-
echo "Actor: ${{ github.actor }}"
36-
echo "Environment: ${{ github.environment }}"
37-
echo "Job: ${{ github.job }}"
38-
echo "Run ID: ${{ github.run_id }}"
39-
echo "=== Expected vs Actual ==="
40-
echo "Expected sub: repo:nynrathod/doo-url-shortner:ref:refs/heads/main"
41-
echo "Actual sub would be: repo:${{ github.repository }}:ref:${{ github.ref }}"
30+
echo "AWS_S3_BUCKET: ${{ vars.AWS_S3_BUCKET }}"
31+
echo "CLOUDFRONT_DISTRIBUTION_ID: ${{ vars.CLOUDFRONT_DISTRIBUTION_ID }}"
32+
echo "VITE_SHORT_BASE_URL: ${{ vars.VITE_SHORT_BASE_URL }}"
4233
4334
- name: Configure AWS credentials
4435
uses: aws-actions/configure-aws-credentials@v4

0 commit comments

Comments
 (0)