Update demo plugin workflow
Some checks failed
Deploy Demo Plugin / docker (17, 3.8.5) (push) Failing after 6s
Some checks failed
Deploy Demo Plugin / docker (17, 3.8.5) (push) Failing after 6s
This commit is contained in:
parent
2be04ec1d6
commit
bb416a8734
@ -39,21 +39,14 @@ jobs:
|
|||||||
- name: Build Jar
|
- name: Build Jar
|
||||||
run: mvn clean package -q -T4C
|
run: mvn clean package -q -T4C
|
||||||
|
|
||||||
# Upload the built jar to the Demo server via SFTP
|
# Upload the built jar to the
|
||||||
- name: Upload Jar via SFTP
|
# remote server and restart it
|
||||||
uses: Creepios/sftp-action@v1.0.3
|
- name: Upload Jar and Restart Remote Server
|
||||||
|
uses: rexlmanu/pterodactyl-upload-action
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.DEMO_SFTP_SERVER }}
|
panel-host: ${{ secrets.PTERO_URL }}
|
||||||
port: 2022
|
|
||||||
username: ${{ secrets.DEMO_SFTP_USER }}
|
|
||||||
password: ${{ secrets.DEMO_SFTP_PASS }}
|
|
||||||
localPath: "./target/DemoSpigotPlugin.jar"
|
|
||||||
remotePath: "/plugins"
|
|
||||||
|
|
||||||
# Restart the remote Demo server
|
|
||||||
- name: Restart Remote Server
|
|
||||||
uses: hwalker928/ptero-gitsync@v1.0
|
|
||||||
with:
|
|
||||||
panel-url: ${{ secrets.PTERO_URL }}
|
|
||||||
api-key: ${{ secrets.PTERO_API_KEY }}
|
api-key: ${{ secrets.PTERO_API_KEY }}
|
||||||
server-id: ${{ secrets.DEMO_SERVER_ID }}
|
server-id: ${{ secrets.DEMO_SERVER_ID }}
|
||||||
|
source: "./target/DemoSpigotPlugin.jar"
|
||||||
|
target: "./plugins"
|
||||||
|
restart: true # Restart after upload
|
||||||
|
Loading…
x
Reference in New Issue
Block a user