Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/_shared-docs-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ on:
required: false
type: string
default: stable-2.13
build-ref:
description: |
The ref from this repository to check out and build.
The default is the default of the actions/checkout action.
required: false
type: string
init-dest-dir:
description: A directory relative to the checkout where the init process has already been run.
required: false
Expand All @@ -42,6 +48,11 @@ on:
If not supplied, the latest version from PyPI is used. If supplied, must be a git ref from the antsibull-docs repository.
required: false
type: string
artifact-upload:
description: Whether or not to upload the build as an artifact.
type: boolean
required: false
default: true
artifact-name:
description: The name of the artifact to upload.
required: false
Expand Down Expand Up @@ -124,6 +135,7 @@ jobs:
uses: actions/checkout@v3
with:
path: ${{ steps.vars.outputs.checkout-path }}
ref: ${{ inputs.build-ref }}

- name: Initialize the build environment
id: init
Expand All @@ -143,3 +155,4 @@ jobs:
build-script: ${{ steps.init.outputs.build-script }}
build-html: ${{ steps.init.outputs.build-html }}
artifact-name: ${{ inputs.artifact-name }}
artifact-upload: ${{ inputs.artifact-upload }}