Skip to content

Commit

Permalink
Update environment read method for release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
huxingyi committed Feb 26, 2023
1 parent 9a65f4f commit 0d287bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ jobs:
cp ${GITHUB_WORKSPACE}/../Qt/5.15.2/msvc2019_64/plugins/imageformats/qsvg.dll ${GITHUB_WORKSPACE}/imageformats/qsvg.dll
7z a Dust3D-win32-x86_64.zip -r ${GITHUB_WORKSPACE}/imageformats/
7z x Dust3D-win32-x86_64.zip -odust3d-${{ github.event.workflow_run.head_branch }}
git clone https://huxingyi:$env:UPDATE_REPO_TOKEN@github.com/huxingyi/huxingyi.github.io.git
git clone https://huxingyi:${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
git remote set-url origin https://${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"
Expand Down

0 comments on commit 0d287bb

Please sign in to comment.