mirror of
https://github.com/CyberL1/MyMcRealms.git
synced 2024-11-21 13:38:21 -05:00
sudo
This commit is contained in:
parent
58864ef17b
commit
e2fb654a34
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@ -17,8 +17,8 @@ jobs:
|
||||
run: /home/runner/.dotnet/dotnet publish --runtime linux-arm64
|
||||
- name: Install sshpass
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install sshpass
|
||||
sudo apt-get update
|
||||
sudo apt-get install sshpass
|
||||
- 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"
|
||||
- name: Deploy compiled binary and dll files to server
|
||||
|
Loading…
Reference in New Issue
Block a user