diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 38f5d68f5..435c97af9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 diff --git a/.github/workflows/pr-closed.yml b/.github/workflows/pr-closed.yml index 6e3476069..4d6915d28 100644 --- a/.github/workflows/pr-closed.yml +++ b/.github/workflows/pr-closed.yml @@ -7,6 +7,7 @@ on: jobs: pr-closed: runs-on: ubuntu-latest + permissions: write-all steps: - name: Install aws cli id: install-aws-cli