Skip to content

Commit

Permalink
chore: invalidate CloudFront cache after docs deploy (#357)
Browse files Browse the repository at this point in the history
This makes sure that the CloudFront cache is invalidated after the docs
are deployed to GitHub pages.
  • Loading branch information
fnesveda authored May 29, 2023
1 parent a6be0b8 commit 32fae74
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,8 @@ jobs:

- name: Deploy artifact to GitHub Pages
uses: actions/deploy-pages@v2

- name: Invalidate CloudFront cache
run: gh workflow run invalidate.yaml --repo apify/apify-docs-private
env:
GITHUB_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}

0 comments on commit 32fae74

Please sign in to comment.