1
1
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2024-12-23 21:08:22 -05:00

Update the deploy script #2

This commit is contained in:
CyberL1 2024-04-27 09:58:27 +02:00
parent 6c66e1b953
commit 802d1ce668

View File

@ -17,6 +17,8 @@ jobs:
run: /home/runner/.dotnet/dotnet publish --runtime linux-arm64
- name: Install ssh agent
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secres.DEPLOY_KEY }}
- name: Stop the realms server for the deployment
run: ssh -o StrictHostKeyChecking=no -p 9476 my-mc.link "pm2 stop 0"
- name: Deploy compiled binary and dll files to server