You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
583 B
22 lines
583 B
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 }}
|
|
|