Skip to content

Commit 0a0c8da

Browse files
committed
Merge pull request #1348 from pguyot/w43/fix-docs-path
Fix docs build when branch names contain a / These changes are made under both the "Apache 2.0" and the "GNU Lesser General Public License 2.1 or later" license terms (dual license). SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
2 parents 1684239 + 1cac20d commit 0a0c8da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ jobs:
9595
shell: bash
9696
run: |
9797
if [[ ${{ github.ref_name }} == *"/merge" ]]; then
98-
echo "AVM_DOCS_NAME=${{github.event.pull_request.base.ref}}" >> "$GITHUB_ENV";
98+
echo "AVM_DOCS_NAME=${{ github.event.pull_request.base.ref }}" | tr '/' '-' >> "$GITHUB_ENV";
9999
else
100-
echo "AVM_DOCS_NAME=${{ github.ref_name }}" >> "$GITHUB_ENV";
100+
echo "AVM_DOCS_NAME=${{ github.ref_name }}" | tr '/' '-' >> "$GITHUB_ENV";
101101
fi
102102
103103
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)