From b386aca0ddc5ec22b6003ba4cb50fa0b17243f6c Mon Sep 17 00:00:00 2001 From: Andrew Chen Wang <60190294+Andrew-Chen-Wang@users.noreply.github.com> Date: Thu, 25 Jun 2020 15:11:56 -0400 Subject: [PATCH] Update push for GITHUB_TOKEN credential --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index fd02769..9c6ab44 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -68,4 +68,4 @@ echo "Pushing to Wiki" cd $TEMP_CLONE_FOLDER git add . git commit -m "$message" -git push --set-upstream https://$GH_TOKEN@github.com/$REPO.wiki.git master +git push --set-upstream https://$GH_NAME:$GH_TOKEN@github.com/$REPO.wiki.git master || git push --set-upstream https://$GH_TOKEN@github.com/$REPO.wiki.git master