Skip to content

Commit

Permalink
Update commit author info for release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
huxingyi committed Feb 26, 2023
1 parent 585f9f2 commit ea62956
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,14 @@ jobs:
- name: Push latest build
env:
UPDATE_REPO_TOKEN: ${{ secrets.UPDATE_REPO_TOKEN }}
MY_EMAIL: ${{ secrets.MY_EMAIL }}
run: |
git clone https://huxingyi:$env:UPDATE_REPO_TOKEN@github.com/huxingyi/huxingyi.github.io.git
cd huxingyi.github.io
git remote set-url origin https://$env:UPDATE_REPO_TOKEN@github.com/huxingyi/huxingyi.github.io.git
cp ../Dust3D-win32-x86_64.zip download/dust3d-latest-preview.zip
git config --global user.email ""
git config --global user.name "bot"
git config --global user.email $env:MY_EMAIL
git config --global user.name "Jeremy HU"
git add download/dust3d-latest-preview.zip
git commit -m "Update latest windows build"
git push origin HEAD
Expand Down

0 comments on commit ea62956

Please sign in to comment.