mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-20 14:39:36 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... See gh-46787 Signed-off-by: dependabot[bot] <support@github.com>
32 lines
928 B
YAML
32 lines
928 B
YAML
name: Trigger Docs Build
|
|
on:
|
|
push:
|
|
branches: '3.4.x'
|
|
paths: [ 'antora/*' ]
|
|
workflow_dispatch:
|
|
inputs:
|
|
build-refname:
|
|
description: 'Git refname to build (e.g., 1.0.x)'
|
|
required: false
|
|
build-version:
|
|
description: 'Version being build (e.g. 1.0.3-SNAPSHOT)'
|
|
required: false
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
trigger-docs-build:
|
|
name: Trigger Docs Build
|
|
if: github.repository_owner == 'spring-projects'
|
|
runs-on: ${{ vars.UBUNTU_SMALL || 'ubuntu-latest' }}
|
|
permissions:
|
|
actions: write
|
|
steps:
|
|
- name: Check Out
|
|
uses: actions/checkout@v5
|
|
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 }}
|