From dbd6e825f1e445aa4a290b77a24f93f5acee7be7 Mon Sep 17 00:00:00 2001 From: Braydon Date: Wed, 24 Apr 2024 17:25:00 -0700 Subject: [PATCH] Update .gitea/workflows/deploy-demo-plugin.yml --- .gitea/workflows/deploy-demo-plugin.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/deploy-demo-plugin.yml b/.gitea/workflows/deploy-demo-plugin.yml index 8bea078..6ad486b 100644 --- a/.gitea/workflows/deploy-demo-plugin.yml +++ b/.gitea/workflows/deploy-demo-plugin.yml @@ -34,18 +34,16 @@ jobs: - name: Build Jar run: mvn clean package -T4C - - run: pwd - # Upload the built jar to the Demo server via SFTP - name: Upload Jar via SFTP - uses: Dylan700/sftp-upload-action@latest + uses: wlixcc/SFTP-Deploy-Action@v1.2.4 with: server: ${{ secrets.DEMO_SFTP_SERVER }} port: 2022 username: ${{ secrets.DEMO_SFTP_USER }} password: ${{ secrets.DEMO_SFTP_PASS }} - uploads: | - ./target/DemoSpigotPlugin.jar => /plugins + local_path: "./target/DemoSpigotPlugin.jar" + remote_path: "/plugins" # Restart the remote Demo server - name: Restart Remote Server