mirror of
https://github.com/CyberL1/MyMcRealms.git
synced 2024-11-21 13:38:21 -05:00
lmao I don't know how to add a ssh key
This commit is contained in:
parent
908d705cc0
commit
5a372715e3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user