mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-26 11:39:14 +00:00
Trigger docs build with specific SHA
Closes gh-44204
This commit is contained in:
@@ -60,7 +60,7 @@ jobs:
|
||||
- name: Run Deploy Docs Workflow
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: gh workflow run deploy-docs.yml --repo ${{ github.repository }} -r docs-build -f build-refname=${{ github.ref_name }} -f build-version=${{ needs.build-and-deploy-snapshot.outputs.version }}
|
||||
run: gh workflow run deploy-docs.yml --repo ${{ github.repository }} -r docs-build -f build-sha=${{ github.sha }} -f build-refname=${{ github.ref_name }} -f build-version=${{ needs.build-and-deploy-snapshot.outputs.version }}
|
||||
verify:
|
||||
name: Verify
|
||||
needs: build-and-deploy-snapshot
|
||||
|
||||
@@ -5,12 +5,16 @@ on:
|
||||
paths: [ 'antora/*' ]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
build-version:
|
||||
description: 'Version being build (e.g. 1.0.3-SNAPSHOT)'
|
||||
required: false
|
||||
build-sha:
|
||||
description: Enter the SHA to build (e.g. 82c97891569821a7f91a77ca074232e0b54ca7a5)
|
||||
required: false
|
||||
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:
|
||||
@@ -28,4 +32,4 @@ jobs:
|
||||
- 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 }}
|
||||
run: gh workflow run deploy-docs.yml -r docs-build -f build-refname=${{ github.event.inputs.build-refname }} -f build-sha=${{ github.event.inputs.build-sha }} -f build-version=${{ github.event.inputs.build-version }}
|
||||
|
||||
Reference in New Issue
Block a user