1
0
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2024-11-24 23:18:22 -05:00

lmao I don't know how to add a ssh key

This commit is contained in:
CyberL1 2024-04-20 22:50:38 +02:00
parent 908d705cc0
commit 5a372715e3

View File

@ -15,5 +15,9 @@ jobs:
./dotnet-install.sh ./dotnet-install.sh
- name: Compile MyMcRealms - name: Compile MyMcRealms
run: /root/.dotnet/dotnet publish --runtime linux-arm64 run: /root/.dotnet/dotnet publish --runtime linux-arm64
- name: Install sshpass
run: |
apt-get update
apt-get install sshpass
- name: Deploy compiled binary and dll files to server - name: Deploy compiled binary and dll files to server
run: scp -r -P 9476 MyMcRealms\bin\Release\net8.0\linux-arm64\publish\* root@ssh.surf:/root/MyMcRealms run: sshpass -p '${{ secrets.VPS_PASSWORD }}' scp -r -P 9476 MyMcRealms\bin\Release\net8.0\linux-arm64\publish\* root@ssh.surf:/root/MyMcRealms