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 60
60
env :
61
61
BUILD_REFNAME : ${{ github.event.inputs.build-refname }}
62
62
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 }}
71
63
- name : Authenticate for commercial distribution
72
64
if : ${{ vars.COMMERCIAL }}
73
65
uses :
' google-github-actions/[email protected] '
80
72
path : ' build/site'
81
73
destination : ' ${{ vars.COMMERCIAL_DOCS_HOST }}/spring-boot'
82
74
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 }}
83
82
- name : Send Notification
84
83
if : failure()
85
84
uses : ./.github/actions/send-notification
You can’t perform that action at this time.
0 commit comments