Add bust-cloudflare-antora-cache
This is necessary so that the css and JavaScript cache will be busted when updates are deployed
This commit is contained in:
committed by
Rossen Stoyanchev
parent
f4ccf68458
commit
6c5ef6db1e
8
.github/workflows/deploy-docs.yml
vendored
8
.github/workflows/deploy-docs.yml
vendored
@@ -34,9 +34,15 @@ jobs:
|
||||
- name: Run Antora
|
||||
run: ./gradlew antora
|
||||
- name: Publish Docs
|
||||
uses: spring-io/spring-doc-actions/rsync-antora-reference@v0.0.5
|
||||
uses: spring-io/spring-doc-actions/rsync-antora-reference@v0.0.7
|
||||
with:
|
||||
docs-username: ${{ secrets.DOCS_USERNAME }}
|
||||
docs-host: ${{ secrets.DOCS_HOST }}
|
||||
docs-ssh-key: ${{ secrets.DOCS_SSH_KEY }}
|
||||
docs-ssh-host-key: ${{ secrets.DOCS_SSH_HOST_KEY }}
|
||||
- name: Bust Clouflare Cache
|
||||
uses: spring-io/spring-doc-actions/bust-cloudflare-antora-cache@v0.0.7
|
||||
with:
|
||||
context-root: spring-framework
|
||||
cloudflare-zone-id: ${{ secrets.CLOUDFLARE_ZONE_ID }}
|
||||
cloudflare-cache-token: ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user