added action to update server
Some checks failed
frontend-action / build-image (push) Failing after 54s

This commit is contained in:
2024-05-18 09:54:27 +07:00
parent 0eb8e42086
commit 8d987e86b0

View File

@@ -24,4 +24,12 @@ jobs:
target: app
build-args: |
VUE_APP_API_URL=/api
- name: update server
uses: https://github.com/appleboy/ssh-action@v1.0.3
with:
host: 46.102.174.196
username: root
key: ${{ secrets.SORVOR-KEY }}
port: 22
script: "docker compose pull && docker compose up"
- run: echo "🍏 This job's status is ${{ job.status }}."