We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa2b498 commit f42c96cCopy full SHA for f42c96c
.github/workflows/deploy.yml
@@ -232,11 +232,13 @@ jobs:
232
echo "Build configuration: BUILD_WITH_DOCS=$BUILD_WITH_DOCS"
233
234
- name: Build and deploy
235
+ env:
236
+ CUSTOM_BUILD_COMMAND: ${{ inputs.custom_build_command }}
237
run: |
238
# Write build command to temporary script file
- if [[ -n "${{ inputs.custom_build_command }}" ]]; then
239
+ if [[ -n "$CUSTOM_BUILD_COMMAND" ]]; then
240
# Custom build command provided by caller
- printf '%s\n' '${{ inputs.custom_build_command }}' > /tmp/build-deploy.sh
241
+ printf '%s\n' "$CUSTOM_BUILD_COMMAND" > /tmp/build-deploy.sh
242
else
243
# Default Maven build command with conditional docs profile
244
cat > /tmp/build-deploy.sh << 'DEFAULT_BUILD_EOF'
0 commit comments