Files
spring-boot/.github/workflows/trigger-docs-build.yml
Stéphane Nicoll fc5fc7f5c3 Harmonize GitHub Actions structure
This commit harmonizes the order of elements, in particular the settings
of the deploy step. It also adds the ability to build against a
different distribution than liberica.

Closes gh-41457
2024-07-12 09:12:57 +02:00

22 lines
612 B
YAML

name: Trigger Docs Build
on:
push:
branches: '3.3.x'
paths: [ 'antora/*' ]
permissions:
actions: write
jobs:
trigger-docs-build:
name: Trigger Docs Build
runs-on: ubuntu-latest
if: github.repository_owner == 'spring-projects'
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 }}