1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Generate antora.yml and push to spring-security-docs-generated

This commit is contained in:
Rob Winch
2021-08-20 17:08:39 -05:00
parent a0e9c67482
commit e4ce7249cc
3 changed files with 79 additions and 19 deletions
+11 -1
View File
@@ -7,6 +7,7 @@ on:
env:
GH_TOKEN_DISPATCH: ${{ secrets.GH_TOKEN_DISPATCH }}
GH_TOKEN_PUSH: ${{ secrets.GH_TOKEN_PUSH }}
jobs:
build:
@@ -14,5 +15,14 @@ jobs:
steps:
- name: Checkout Source
uses: actions/checkout@v2
- name: Generate antora.yml
run: ./gradlew :spring-security-docs:generateAntora
- name: Push generated antora files to the spring-security-docs-generated
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: "spring-security/main" # The branch the action should deploy to.
folder: "docs/build/generateAntora" # The folder the action should deploy.
repository-name: "rwinch/spring-security-docs-generated"
token: ${{ secrets.GH_TOKEN_PUSH }}
- name: Dispatch Build Request
run: ${GITHUB_WORKSPACE}/.github/actions/dispatch.sh 'rwinch/spring-reference' "$GH_TOKEN_DISPATCH"
run: ${GITHUB_WORKSPACE}/.github/actions/dispatch.sh 'rwinch/spring-reference' "$GH_TOKEN_DISPATCH"