Skip to content

Commit 1a51112

Browse files
committed
fix: Resolve shell syntax error in build-deploy workflow
- Changed shell from default (sh) to bash for Generate build report step - Fixes 'Bad substitution' error with bash-specific parameter expansion - Also replaced with proper GitHub context variable - Resolves Build & Deploy Documentation workflow failure
1 parent 7b87476 commit 1a51112

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ jobs:
246246
247247
- name: Generate build report
248248
working-directory: drafts/current/specifications
249+
shell: bash
249250
run: |
250251
echo "📋 Generating build report..."
251252
cat > build-report.md << EOF
@@ -254,7 +255,7 @@ jobs:
254255
**Version:** ${{ steps.extract-version.outputs.version }}
255256
**Build Time:** ${{ steps.extract-version.outputs.timestamp }}
256257
**Commit:** ${GITHUB_SHA::8}
257-
**Branch:** ${GITHUB_REF_NAME}
258+
**Branch:** ${{ github.ref_name }}
258259
**Build Type:** ${{ github.ref == 'refs/heads/main' && 'Production (with deployment)' || 'Development (build only)' }}
259260
260261
## Build Statistics

0 commit comments

Comments
 (0)