mirror of
https://github.com/CyberL1/MyMcRealms.git
synced 2024-11-21 21:48:21 -05:00
Update the deploy script #2
This commit is contained in:
parent
6c66e1b953
commit
802d1ce668
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@ -17,6 +17,8 @@ jobs:
|
|||||||
run: /home/runner/.dotnet/dotnet publish --runtime linux-arm64
|
run: /home/runner/.dotnet/dotnet publish --runtime linux-arm64
|
||||||
- name: Install ssh agent
|
- name: Install ssh agent
|
||||||
uses: webfactory/ssh-agent@v0.9.0
|
uses: webfactory/ssh-agent@v0.9.0
|
||||||
|
with:
|
||||||
|
ssh-private-key: ${{ secres.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