Skip to content

Commit 743117c

Browse files
committed
fix: token
1 parent 19902a7 commit 743117c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/aws-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ jobs:
6161
AWS_REGION: ${{ inputs.environment == 'DEV' && secrets.DEV_REGION || inputs.environment == 'PROD' && secrets.PROD_REGION }}
6262
LAMBDA_PERF_ENV: ${{ inputs.environment == 'PROD' && 'production' || 'dev' }}
6363
SKIP_SNAPSTART: ${{ (inputs.environment == 'DEV') && secrets.SKIP_SNAPSTART_DEV || 'false' }}
64-
GITHUB_AUTH_TOKEN: ${{ secrets.GH_AUTH_TOKEN }}
64+
GITHUB_AUTH_TOKEN: ${{ inputs.environment == 'PROD' && secrets.GH_AUTH_TOKEN || 'no-token-needed' }}
6565
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
6666
run: cd cdk && yarn install && cdk bootstrap && cdk deploy LambdaPerfStack --require-approval never

0 commit comments

Comments
 (0)