Skip to content

Commit fc889fc

Browse files
committed
fix: force lowercase owner in preview url
1 parent c716ef7 commit fc889fc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ jobs:
8484
# Check if it's an org page (owner.github.io)
8585
if [[ "${REPO_NAME,,}" == "${OWNER,,}.github.io" ]]; then
8686
BASE_PATH="/pr-$PR_NUM/"
87-
FULL_URL="https://$OWNER.github.io/pr-$PR_NUM/"
87+
FULL_URL="https://${OWNER,,}.github.io/pr-$PR_NUM/"
8888
else
8989
BASE_PATH="/$REPO_NAME/pr-$PR_NUM/"
90-
FULL_URL="https://$OWNER.github.io/$REPO_NAME/pr-$PR_NUM/"
90+
FULL_URL="https://${OWNER,,}.github.io/$REPO_NAME/pr-$PR_NUM/"
9191
fi
9292
9393
echo "base_path=$BASE_PATH" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)