Update for docs-build branch

This commit is contained in:
Rob Winch
2022-11-08 12:59:00 -06:00
parent ee4df64bb1
commit cd628fe5af
6 changed files with 22 additions and 110 deletions

22
.github/workflows/deploy-docs.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Deploy Docs
on:
repository_dispatch:
types: request-build-reference # legacy
schedule:
- cron: '0 10 * * *' # Once per day at 10am UTC
workflow_dispatch:
permissions: read-all
jobs:
build:
runs-on: ubuntu-latest
if: github.repository_owner == 'spring-projects'
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: docs-build
fetch-depth: 1
- name: Dispatch
run: gh workflow run --ref $(git rev-parse --abbrev-ref HEAD) deploy-docs.yml
env:
GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}