Skip to content

Commit

Permalink
feat:修改压缩后缀
Browse files Browse the repository at this point in the history
  • Loading branch information
laoriy committed Dec 23, 2023
1 parent 57aa194 commit c9430cc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./release.tgz
asset_name: release.tgz
asset_content_type: application/x-tgz
asset_path: ./release.zip
asset_name: release.zip
asset_content_type: application/zip

# 部署到服务器
- name: Deploy
Expand All @@ -67,6 +67,6 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /root/web/nuxt-realworld
wget https://github.com/laoriy/lagou-study/releases/latest/download/release.tgz -O release.tgz
tar zxvf release.tgz
wget https://github.com/laoriy/lagou-study/releases/latest/download/release.zip -O release.zip
tar zxvf release.zip
pm2 reload

0 comments on commit c9430cc

Please sign in to comment.