From f28aa6dad779f7323117e7a436f1e99dba023bca Mon Sep 17 00:00:00 2001 From: Jenkey2011 Date: Sat, 17 Apr 2021 18:28:53 +0800 Subject: [PATCH] fix: oauth problem --- entrypoint.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 3b43cdc..cacf2e6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -28,7 +28,11 @@ else fi # Final repository -DEPLOY_REPO="https://${ACCESS_TOKEN}@github.com/${REPOSITORY_NAME}.git" +# https://github.com/jenkey2011/vuepress-deploy.git +# :x-oauth-basic@github.com +# DEPLOY_REPO="https://${ACCESS_TOKEN}@github.com/${REPOSITORY_NAME}.git" +DEPLOY_REPO="https://${ACCESS_TOKEN}:x-oauth-basic@github.com/${REPOSITORY_NAME}.git" +# git@github.com:jenkey2011/vuepress-deploy.git if [ "$TARGET_LINK" ]; then DEPLOY_REPO="$TARGET_LINK" fi