From 406029681cddf5d9ebb79c11654fa814a617c347 Mon Sep 17 00:00:00 2001 From: Yuanlin Date: Sun, 8 Aug 2021 21:47:40 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20[ci]=20Added=20auto=20fetch=20st?= =?UTF-8?q?age?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 4c79fa9..4a1fc2d 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -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