Browse Source

Add bust-cloudflare-antora-cache

This is necessary so that the css and JavaScript cache will be busted
when updates are deployed
pull/30673/head
Rob Winch 2 years ago committed by Rossen Stoyanchev
parent
commit
6c5ef6db1e
  1. 8
      .github/workflows/deploy-docs.yml

8
.github/workflows/deploy-docs.yml

@ -34,9 +34,15 @@ jobs:
- name: Run Antora - name: Run Antora
run: ./gradlew antora run: ./gradlew antora
- name: Publish Docs - 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: with:
docs-username: ${{ secrets.DOCS_USERNAME }} docs-username: ${{ secrets.DOCS_USERNAME }}
docs-host: ${{ secrets.DOCS_HOST }} docs-host: ${{ secrets.DOCS_HOST }}
docs-ssh-key: ${{ secrets.DOCS_SSH_KEY }} docs-ssh-key: ${{ secrets.DOCS_SSH_KEY }}
docs-ssh-host-key: ${{ secrets.DOCS_SSH_HOST_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 }}

Loading…
Cancel
Save