Skip to content

Commit b3c7617

Browse files
author
Excodibur
committed
fix gh-pages doc symlink (5)
1 parent f3a6747 commit b3c7617

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ jobs:
7777
if: ${{ steps.prepare_tag.outputs.is_latest}}
7878
run: |
7979
echo "tag is latest. need to update latest-symlink in gh-pages branch"
80-
ln -f -s doc-${{ steps.prepare_tag.outputs.deploy_tag_name }} latest
80+
ln -f -s ${{ steps.prepare_tag.outputs.deploy_tag_name }} latest
8181
git config user.name Excodibur
8282
git add latest
83-
git commit --amend -m "updated symlink to doc-${{ steps.prepare_tag.outputs.deploy_tag_name }}"
84-
git push gh-pages origin
83+
git commit --amend -m "updated symlink to ${{ steps.prepare_tag.outputs.deploy_tag_name }}"
84+
git push gh-pages
8585
8686
8787

0 commit comments

Comments
 (0)