From 79e70c084acd71bece8b63e6f6369d2298fc5edc Mon Sep 17 00:00:00 2001 From: Neucrack <8625829+Neutree@users.noreply.github.com> Date: Fri, 19 Apr 2024 23:46:04 +0800 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ede987dd7a..7aff0961cc 100755 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -69,12 +69,13 @@ jobs: git init git config user.name ${user_name} git config user.email ${user_email} - remote_addr="https://${user_name}:${{ secrets.GITHUB_TOKEN }}@${remote_addr}" + remote_addr="https://Neutree:${{ secrets.GITHUB_TOKEN }}@${remote_addr}" echo "-- user ${user_name}" echo "-- remote addr: ${remote_addr}" git remote add origin "${remote_addr}" git add -A git commit -m "rebuild website ad $GITHUB_REF" + echo "== push to gh-pages branch now" git push origin HEAD:gh-pages --force echo "== push complete ==" echo "== upload to cloud server =="