Skip to content

Commit 0d3cbae

Browse files
committed
Try setting output folder name to plain tag name
Note: This will break if the release-build workflow is triggered from a non-tag commit
1 parent 11362c4 commit 0d3cbae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build-release.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,15 @@ jobs:
6363
needs: build-release
6464
steps:
6565
- uses: actions/checkout@v2
66+
- name: Set Tag / Branch Name
67+
shell: bash
68+
run: export TAG_NAME=${GITHUB_REF#"refs/tags/"}
6669
- name: Build Doxygen Docs
6770
uses: mattnotmitt/[email protected]
6871
- name: Deploy Docs to github-pages
6972
uses: JamesIves/[email protected]
7073
with:
7174
branch: gh-pages
7275
folder: html
73-
target-folder: ${{github.ref}}
76+
target-folder: ${{env.TAG_NAME}}
7477
clean: false

0 commit comments

Comments
 (0)