From c9107c502ec9b2cff010003d2a43d397e1ca6362 Mon Sep 17 00:00:00 2001 From: JT Date: Tue, 5 Oct 2021 22:45:08 +0800 Subject: [PATCH] perf: revise actor variable --- providers/github.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/github.sh b/providers/github.sh index 4c53b278..b0c5bf7a 100755 --- a/providers/github.sh +++ b/providers/github.sh @@ -14,9 +14,9 @@ touch .nojekyll [ -n "$INPUT_CNAME" ] && echo "$INPUT_CNAME" > CNAME echo "Deploying to ${REPOSITORY} on branch ${BRANCH}" -echo "Deploying to https://${TOKEN}@github.com/${REPOSITORY}.git" +echo "Deploying to https://${ACTOR}:${TOKEN}@github.com/${REPOSITORY}.git" -REMOTE_REPO="https://${GITHUB_ACTOR}:${TOKEN}@github.com/${REPOSITORY}.git" && \ +REMOTE_REPO="https://${ACTOR}:${TOKEN}@github.com/${REPOSITORY}.git" && \ git init && \ git config user.name "${ACTOR}" && \ git config user.email "${ACTOR}@users.noreply.github.com" && \