Skip to content

Commit

Permalink
Update jekyll-build-push-S3-v2.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrodziski authored Jan 17, 2024
1 parent a5222fb commit 3f288fd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/jekyll-build-push-S3-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ jobs:
aws_bucket: ${{ secrets.AWS_BUCKET }}
source_dir: 'landing/dist'
destination_dir: ''
- name: Invalidate Cloudfront distribution
uses: chetan/invalidate-cloudfront-action@master
env:
DISTRIBUTION: ${{ secrets.CLOUDFRONT_DISTRIBUTION }}
PATHS: '/*'
AWS_REGION: 'eu-west-3'
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Fix permissions
working-directory: ./landing
run: |
Expand All @@ -82,5 +90,5 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: landing/dist/*
path: landing/dist

0 comments on commit 3f288fd

Please sign in to comment.