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:
Rob Winch
2023-06-14 13:47:56 -05:00
committed by Rossen Stoyanchev
parent f4ccf68458
commit 6c5ef6db1e

View File

@@ -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 }}