Skip to content

Commit

Permalink
test env var
Browse files Browse the repository at this point in the history
Signed-off-by: Roy Scheeren <[email protected]>
  • Loading branch information
royscheeren committed Aug 1, 2024
1 parent a80410b commit 1714bdc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ jobs:
aws-region: 'eu-central-1'

- name: Setup production env file
if: github.ref == 'refs/heads/develop'
env:
ENV: production
CERTIFICATE_ARN: ${{ secrets.SIWT_XYZ_SSL_CERTIFICATE_ARN }}
Expand All @@ -85,7 +84,6 @@ jobs:
- name: Deploy
run: npx nx deploy siwt.xyz --production --skip-nx-cache
- name: Invalidate Distribution
if: github.ref == 'refs/heads/develop'
env:
CLOUDFRONT_DISTRIBUTION_ID: ${{ secrets.SIWT_XYZ_DISTRIBUTION_ID }}
run: aws cloudfront create-invalidation --distribution-id=$CLOUDFRONT_DISTRIBUTION_ID --paths '/*'

0 comments on commit 1714bdc

Please sign in to comment.