mirror of
https://github.com/CyberL1/MyMcRealms.git
synced 2024-11-21 21:48:21 -05:00
Update the deploy script #3
This commit is contained in:
parent
802d1ce668
commit
7f292575a6
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user