Skip to content

Commit

Permalink
πŸ’š [ci] Added auto fetch stage
Browse files Browse the repository at this point in the history
  • Loading branch information
yuaanlin committed Aug 8, 2021
1 parent 5617d80 commit 4060296
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,10 @@ jobs:
asset_path: ./target/mcplugin-1.0-SNAPSHOT.jar
asset_name: mcplugin-1.0-SNAPSHOT.jar
asset_content_type: application/jar
- name: Fetch New Plugin to Server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: root
key: ${{ secrets.ID_RSA }}
script: bash pull-latest-plugin.sh

0 comments on commit 4060296

Please sign in to comment.