Skip to content

Commit ef363b1

Browse files
committedFeb 26, 2022
ci(docs): Purge CloudFlare cache on push
1 parent 2e3e684 commit ef363b1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎.github/workflows/publish-docs.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v1
1616
- name: Configure git
1717
run: |
18-
git config --global user.name 'travis-ci'
18+
git config --global user.name 'travis-ci'
1919
git config --global user.email 'travis@nowhere.edu'
2020
2121
- name: Filter changed file paths to outputs
@@ -120,3 +120,9 @@ jobs:
120120
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
121121
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
122122
PATHS_FROM: .updated_files
123+
124+
- name: Purge cache on Cloudflare
125+
uses: jakejarvis/cloudflare-purge-action@master
126+
env:
127+
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
128+
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}

0 commit comments

Comments
 (0)
Please sign in to comment.