added update to server script
Some checks failed
backend-action / build-image (push) Failing after 1m8s
Some checks failed
backend-action / build-image (push) Failing after 1m8s
This commit is contained in:
@@ -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 }}."
|
||||||
|
|||||||
Reference in New Issue
Block a user