spring-boot/.github/workflows/trigger-docs-build.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
612 B
YAML
Raw Normal View History

2024-03-28 03:40:21 +08:00
name: Trigger Docs Build
on:
push:
2024-06-21 02:46:14 +08:00
branches: '3.3.x'
paths: [ 'antora/*' ]
2024-03-28 03:40:21 +08:00
permissions:
actions: write
jobs:
2024-03-28 03:48:07 +08:00
trigger-docs-build:
name: Trigger Docs Build
2024-03-28 03:40:21 +08:00
if: github.repository_owner == 'spring-projects'
runs-on: ubuntu-latest
steps:
- name: Check Out
uses: actions/checkout@v4
with:
ref: docs-build
- name: Trigger Workflow
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh workflow run deploy-docs.yml -r docs-build -f build-refname=${{ github.event.inputs.build-refname }} -f build-version=${{ github.event.inputs.build-version }}