Skip to content

Commit

Permalink
Re-enable Cloudfront invalidation
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaljanicki committed Feb 28, 2024
1 parent 8cbed38 commit a9d50ca
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/developer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ jobs:
AWS_REGION: ${{ secrets.AWS_S3_REGION }}
SOURCE_DIR: 'build/site/'

# - name: Invalidate CloudFront Cache
# uses: chetan/invalidate-cloudfront-action@v2
# env:
# DISTRIBUTION: ${{ secrets.AWS_CLOUDFRONT_DISTRIBUTION }}
# PATHS: "/*"
# AWS_REGION: ${{ secrets.AWS_S3_REGION }}
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Invalidate CloudFront Cache
uses: chetan/invalidate-cloudfront-action@v2
env:
DISTRIBUTION: ${{ secrets.AWS_CLOUDFRONT_DISTRIBUTION }}
PATHS: "/labs/* /developer/*"
AWS_REGION: ${{ secrets.AWS_S3_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

# Index into Algolia
# - run: npm run index
Expand Down

0 comments on commit a9d50ca

Please sign in to comment.