Update .gitea/workflows/deploy-demo-plugin.yml
Some checks failed
Deploy Demo Plugin / docker (17, 3.8.5) (push) Failing after 1m1s

This commit is contained in:
Braydon 2024-04-24 17:25:00 -07:00
parent a43c40d88f
commit dbd6e825f1

@ -34,18 +34,16 @@ jobs:
- name: Build Jar - name: Build Jar
run: mvn clean package -T4C run: mvn clean package -T4C
- run: pwd
# Upload the built jar to the Demo server via SFTP # Upload the built jar to the Demo server via SFTP
- name: Upload Jar via SFTP - name: Upload Jar via SFTP
uses: Dylan700/sftp-upload-action@latest uses: wlixcc/SFTP-Deploy-Action@v1.2.4
with: with:
server: ${{ secrets.DEMO_SFTP_SERVER }} server: ${{ secrets.DEMO_SFTP_SERVER }}
port: 2022 port: 2022
username: ${{ secrets.DEMO_SFTP_USER }} username: ${{ secrets.DEMO_SFTP_USER }}
password: ${{ secrets.DEMO_SFTP_PASS }} password: ${{ secrets.DEMO_SFTP_PASS }}
uploads: | local_path: "./target/DemoSpigotPlugin.jar"
./target/DemoSpigotPlugin.jar => /plugins remote_path: "/plugins"
# Restart the remote Demo server # Restart the remote Demo server
- name: Restart Remote Server - name: Restart Remote Server