Skip to content

Commit

Permalink
Merge pull request #1069 from eleven-labs/fix/action_deploy-cache-inv…
Browse files Browse the repository at this point in the history
…alidation

fix(action) Fix cache invalidation
  • Loading branch information
nicolas-grevin authored Feb 23, 2024
2 parents 4fdbf81 + 89ed373 commit f9a3fc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ jobs:

- name: Clear caches
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
run: |
aws configure set preview.cloudfront true
aws cloudfront create-invalidation --distribution-id "${{ secrets.CLOUDFRONT_DISTRIBUTION }}" --paths "/*"
run: aws cloudfront create-invalidation --distribution-id "${{ secrets.CLOUDFRONT_DISTRIBUTION }}" --paths "/*"

- name: Indexing on Algolia
run: yarn indexation:algolia
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-closed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
jobs:
pr-closed:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Install aws cli
id: install-aws-cli
Expand Down

0 comments on commit f9a3fc0

Please sign in to comment.