Skip to content

Commit 521cec6

Browse files
authored
Update action.sh
1 parent 21289df commit 521cec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if [ -n "${GITHUB_TOKEN}" ]; then
4747
remote_repo="https://x-access-token:${GITHUB_TOKEN}@${GITHUB_DOMAIN:-"github.com"}/${GITHUB_ORIGIN}.git"
4848
elif [ -n "${PERSONAL_TOKEN}" ]; then
4949
print_info "setup with PERSONAL_TOKEN"
50-
remote_repo="https://x-access-token:${PERSONAL_TOKEN}@${GITHUB_DOMAIN:-"github.com"}/${GITHUB_ORIGIN}.git"
50+
remote_repo="https://${PERSONAL_TOKEN}@${GITHUB_DOMAIN:-"github.com"}/${GITHUB_ORIGIN}.git"
5151
else
5252
print_info "no token found; linting"
5353
exec -- mkdocs build --config-file "${CONFIG_FILE}"

0 commit comments

Comments
 (0)