added update to server script
Some checks failed
backend-action / build-image (push) Failing after 1m8s

This commit is contained in:
2024-05-18 09:51:27 +07:00
parent 0f6ec77dc0
commit d54649893c

View File

@@ -22,4 +22,12 @@ jobs:
platforms: linux/amd64 platforms: linux/amd64
tags: gitea.cognizata.com/atapy/sorvor:latest tags: gitea.cognizata.com/atapy/sorvor:latest
target: app target: app
- name: update server
uses: https://github.com/appleboy/ssh-action@v1.0.3
with:
host: 46.102.174.196
username: root
password: ${{ secrets.SORVOR-KEY }}
port: 22
script: "docker compose pull && docker compose up"
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."