Skip to content

Commit

Permalink
Invalidate cloudfront distribution on deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
wch committed Mar 18, 2024
1 parent 7d43837 commit 9d2a002
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down Expand Up @@ -93,6 +93,7 @@ jobs:
run: |
pip install awscli
aws s3 sync _shinylive s3://shinylive.io --delete
aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_CLOUDFRONT_DISTRIBUTION_ID }} --paths "/*"
# =====================================================
Expand Down

0 comments on commit 9d2a002

Please sign in to comment.