Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
balrogsxt authored Nov 27, 2020
1 parent a5d1053 commit 78bb6f4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ jobs:
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
script: |
echo ${{steps.create_release.outputs.id}}
echo "------"
echo ${{steps.upload_release_asset.outputs.browser_download_url}}
cd /home/golangweb/genshin-auto-sign
#下载构建好的文件
wget https://api.github.com/repos/balrogsxt/genshin-auto-sign/releases/assets/${{steps.upload_release_asset.outputs.id}}?access_token=${{ secrets.TOKEN }} -H "accept:application/octet-stream" --header="Accept:application/octet-stream" -O genshin-auto-sign1
sh stop.sh #结束进程,会自动重启

0 comments on commit 78bb6f4

Please sign in to comment.