浏览代码

Use bust-cloudflare-antora-cache

Rob Winch 2 年之前
父节点
当前提交
7c562e2c88
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      .github/workflows/deploy-docs.yml

+ 6 - 0
.github/workflows/deploy-docs.yml

@@ -42,3 +42,9 @@ jobs:
         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@main
+      with:
+        context-root: spring-security
+        cloudflare-zone-id: ${{ secrets.CLOUDFLARE_ZONE_ID }}
+        cloudflare-cache-token: ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}