1
0
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2024-09-19 07:52:52 -04:00

Update the deploy script #3

This commit is contained in:
CyberL1 2024-04-27 10:00:29 +02:00
parent 802d1ce668
commit 7f292575a6

View File

@ -18,7 +18,7 @@ jobs:
- name: Install ssh agent - name: Install ssh agent
uses: webfactory/ssh-agent@v0.9.0 uses: webfactory/ssh-agent@v0.9.0
with: with:
ssh-private-key: ${{ secres.DEPLOY_KEY }} ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- name: Stop the realms server for the deployment - name: Stop the realms server for the deployment
run: ssh -o StrictHostKeyChecking=no -p 9476 my-mc.link "pm2 stop 0" run: ssh -o StrictHostKeyChecking=no -p 9476 my-mc.link "pm2 stop 0"
- name: Deploy compiled binary and dll files to server - name: Deploy compiled binary and dll files to server