Skip to content

Commit

Permalink
Fix release workflow by forcing remote url
Browse files Browse the repository at this point in the history
  • Loading branch information
huxingyi committed Feb 25, 2023
1 parent bd6c106 commit a091569
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Set environment variable
run: |
set PATH="%PATH%;C:\Program Files\7-Zip"
- name: Zip executable
- name: Zip executable and push latest build
run: |
7z a Dust3D-win32-x86_64.zip ${GITHUB_WORKSPACE}/application/release/dust3d.exe
7z a Dust3D-win32-x86_64.zip ${GITHUB_WORKSPACE}/../Qt/5.15.2/msvc2019_64/bin/Qt5Svg.dll
Expand All @@ -92,6 +92,7 @@ jobs:
7z x Dust3D-win32-x86_64.zip -odust3d-${{ github.event.workflow_run.head_branch }}
git clone https://huxingyi:${{ secrets.UPDATE_REPO_TOKEN }}@github.com/huxingyi/huxingyi.github.io.git
cd huxingyi.github.io
git remote set-url origin https://huxingyi:${{ secrets.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 a091569

Please sign in to comment.