Skip to content

Commit

Permalink
ci: add step for clear prod cache (matter-labs#863)
Browse files Browse the repository at this point in the history
  • Loading branch information
otani88 authored Jan 17, 2024
1 parent 6427d02 commit b680b31
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ jobs:
projectId: aqwzx-zksync-v2-docs
channelID: live

- name: Purge cf cache
uses: nathanvaughn/actions-cloudflare-purge@db8c58f61ba4c3ec77229c8fa14ddebb3b59932f # v3.1.0
with:
cf_zone: ${{ secrets.CLOUDFLARE_ZONE }}
cf_auth: ${{ secrets.CLOUDFLARE_AUTH_KEY }}
hosts: |
docs.zksync.io
era.zksync.io
v2-docs.zksync.io
# TODO: Implement reindex task tracking instead of blindly exiting on task submit
- name: Trigger Algolia reindex
run: |
Expand Down

0 comments on commit b680b31

Please sign in to comment.