File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 6060 env :
6161 BUILD_REFNAME : ${{ github.event.inputs.build-refname }}
6262 BUILD_VERSION : ${{ github.event.inputs.build-version }}
63- - name : Bust OSS Cloudflare Cache
64- if : ${{ !vars.COMMERCIAL }}
65- uses :
spring-io/spring-doc-actions/[email protected] 66- with :
67- context-root : spring-boot
68- context-path : /
69- cloudflare-zone-id : ${{ secrets.CLOUDFLARE_ZONE_ID }}
70- cloudflare-cache-token : ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}
7163 - name : Authenticate for commercial distribution
7264 if : ${{ vars.COMMERCIAL }}
7365 uses :
' google-github-actions/[email protected] ' 8072 path : ' build/site'
8173 destination : ' ${{ vars.COMMERCIAL_DOCS_HOST }}/spring-boot'
8274 parent : false
75+ - name : Bust Cloudflare Cache
76+ uses :
spring-io/spring-doc-actions/[email protected] 77+ with :
78+ context-root : spring-boot
79+ context-path : /
80+ cloudflare-zone-id : ${{ (vars.COMMERCIAL && secrets.COMMERCIAL_CLOUDFLARE_ZONE_ID) || secrets.CLOUDFLARE_ZONE_ID }}
81+ cloudflare-cache-token : ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}
8382 - name : Send Notification
8483 if : failure()
8584 uses : ./.github/actions/send-notification
You can’t perform that action at this time.
0 commit comments