File tree Expand file tree Collapse file tree 1 file changed +17
-16
lines changed Expand file tree Collapse file tree 1 file changed +17
-16
lines changed Original file line number Diff line number Diff line change 5
5
tags : ' **'
6
6
repository_dispatch :
7
7
types : request-build-reference # legacy
8
+ # schedule:
9
+ # - cron: '0 10 * * *' # Once per day at 10am UTC
8
10
workflow_dispatch :
9
-
10
11
permissions : read-all
11
12
jobs :
12
13
build :
13
14
runs-on : ubuntu-latest
14
15
if : github.repository_owner == 'spring-projects'
15
16
steps :
16
- - name : Checkout
17
- uses : actions/checkout@v3
18
- with :
19
- ref : docs-build
20
- fetch-depth : 1
21
- - name : Dispatch (partial build)
22
- if : github.ref_type == 'branch'
23
- env :
24
- GH_TOKEN : ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
25
- run : gh workflow run deploy-docs.yml -r $(git rev-parse --abbrev-ref HEAD) -f build-refname=${{ github.ref_name }}
26
- - name : Dispatch (full build)
27
- if : github.ref_type == 'tag'
28
- env :
29
- GH_TOKEN : ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
30
- run : gh workflow run deploy-docs.yml -r $(git rev-parse --abbrev-ref HEAD)
17
+ - name : Checkout
18
+ uses : actions/checkout@v3
19
+ with :
20
+ ref : docs-build
21
+ fetch-depth : 1
22
+ - name : Dispatch (partial build)
23
+ if : github.ref_type == 'branch'
24
+ env :
25
+ GH_TOKEN : ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
26
+ run : gh workflow run deploy-docs.yml -r $(git rev-parse --abbrev-ref HEAD) -f build-refname=${{ github.ref_name }}
27
+ - name : Dispatch (full build)
28
+ if : github.ref_type == 'tag'
29
+ env :
30
+ GH_TOKEN : ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
31
+ run : gh workflow run deploy-docs.yml -r $(git rev-parse --abbrev-ref HEAD)
You can’t perform that action at this time.
0 commit comments