added action to update server
Some checks failed
frontend-action / build-image (push) Failing after 54s
Some checks failed
frontend-action / build-image (push) Failing after 54s
This commit is contained in:
@@ -24,4 +24,12 @@ jobs:
|
|||||||
target: app
|
target: app
|
||||||
build-args: |
|
build-args: |
|
||||||
VUE_APP_API_URL=/api
|
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 }}."
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
|
|||||||
Reference in New Issue
Block a user