Skip to content

Commit 9d26da3

Browse files
emcdMuse Spark 1.3
andcommitted
Add production input to reusable documenter.
Callers pass false for staged receipt runs without publication-branch writes; default true preserves current behavior. Co-Authored-By: Muse Spark 1.3 <noreply@opencode.ai>
1 parent 8e71ed1 commit 9d26da3

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

‎.github/workflows/xrepo--documenter.yaml‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ on:
1616
default: '1.62.1'
1717
required: false
1818
type: string
19+
production:
20+
description: 'Update publication branch with new tarball.'
21+
default: true
22+
required: false
23+
type: boolean
1924
configuration:
2025
description: 'Track configuration TOML file for publication.'
2126
default: ''
@@ -97,8 +102,12 @@ jobs:
97102
if [ -n "${{ inputs.legacy-inventory }}" ]; then
98103
config_args="${config_args} --legacy-inventory ${{ inputs.legacy-inventory }}"
99104
fi
105+
production_args="--production"
106+
if [ "${{ inputs.production }}" != 'true' ]; then
107+
production_args=""
108+
fi
100109
# shellcheck disable=SC2086
101-
emcdproj website update "${version}" --production ${config_args}
110+
emcdproj website update "${version}" ${production_args} ${config_args}
102111
echo "website=$(pwd)/.auxiliary/artifacts/website" >>${GITHUB_OUTPUT}
103112
cat ${GITHUB_OUTPUT}
104113
shell: bash

0 commit comments

Comments
 (0)