Skip to content

Commit

Permalink
invalidate cloudfront after sync
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-s committed Dec 13, 2023
1 parent b3fdcd2 commit ca66cdb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
with:
target: gh-pages

- name: Update cynkra org S3 bucket
- name: Update cynkrablog S3 bucket
if: github.event_name == 'push'
timeout-minutes: 7
env:
Expand All @@ -74,4 +74,5 @@ jobs:
run: |
aws configure list
# S3
aws s3 sync docs s3://cynkraweb-blog
aws s3 sync docs s3://cynkraweb-blog --no-progress
aws cloudfront create-invalidation --distribution-id EN84WRZ43AIZQ --paths "/*"

0 comments on commit ca66cdb

Please sign in to comment.