Skip to content

Commit c06cd4c

Browse files
committed
Add Smart Previews PR mechanism
1 parent 3b078db commit c06cd4c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/create-preview-env-on-pr.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,3 @@ jobs:
7777
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
7878
run: |
7979
aws s3 rm s3://${{ secrets.AWS_S3_BUCKET_NAME }}/PR-${{ github.event.number }} --recursive
80-
81-
# - name: Invalidate CloudFront cache
82-
# env:
83-
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
84-
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
85-
# AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
86-
# run: |
87-
# aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_CLOUDFRONT_DISTRIBUTION_ID }} --paths "/PR-${{ github.event.number }}/*"

0 commit comments

Comments
 (0)