Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Neutree authored Apr 19, 2024
1 parent b394d3b commit 79e70c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 =="
Expand Down

0 comments on commit 79e70c0

Please sign in to comment.