1
0
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2024-11-21 21:48:21 -05:00
This commit is contained in:
CyberL1 2024-04-26 17:24:09 +02:00
parent 58864ef17b
commit e2fb654a34

View File

@ -17,8 +17,8 @@ jobs:
run: /home/runner/.dotnet/dotnet publish --runtime linux-arm64 run: /home/runner/.dotnet/dotnet publish --runtime linux-arm64
- name: Install sshpass - name: Install sshpass
run: | run: |
apt-get update sudo apt-get update
apt-get install sshpass sudo apt-get install sshpass
- name: Stop the realms server for the deployment - name: Stop the realms server for the deployment
run: sshpass -p '${{ secrets.VPS_PASSWORD }}' ssh -o StrictHostKeyChecking=no -p 9476 root@ssh.surf "pm2 stop 0" run: sshpass -p '${{ secrets.VPS_PASSWORD }}' ssh -o StrictHostKeyChecking=no -p 9476 root@ssh.surf "pm2 stop 0"
- name: Deploy compiled binary and dll files to server - name: Deploy compiled binary and dll files to server