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 fc5bd54 commit 8a1ff6b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
tag_name: release-${{github.sha}}
release_name: release-${{github.sha}}
draft: false
prerelease: false

- name: 上传编译文件到Release
id: upload-release-asset
id: upload_release_asset
uses: actions/upload-release-asset@master
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
Expand All @@ -65,5 +65,6 @@ jobs:
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
script: |
echo ${{steps.upload_release_asset.outputs.browser_download_url}}
cd /home/golangweb/genshin-auto-sign
sh stop.sh #结束进程,会自动重启

0 comments on commit 8a1ff6b

Please sign in to comment.