Skip to content

Commit c20c25c

Browse files
committed
Merge branch '3.0.x'
Fix Antora Issue gh-2327
2 parents a989613 + 1837bd2 commit c20c25c

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,27 @@ on:
55
tags: '**'
66
repository_dispatch:
77
types: request-build-reference # legacy
8+
#schedule:
9+
#- cron: '0 10 * * *' # Once per day at 10am UTC
810
workflow_dispatch:
9-
1011
permissions: read-all
1112
jobs:
1213
build:
1314
runs-on: ubuntu-latest
1415
if: github.repository_owner == 'spring-projects'
1516
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)

0 commit comments

Comments
 (0)