ci(action): update deploy action
deploy / deploy (push) Successful in 22s

This commit is contained in:
2026-11-03 00:36:31 +03:00
parent 78cde671cc
commit 977b43a9d4
2 changed files with 10 additions and 8 deletions
+9 -7
View File
@@ -1,13 +1,15 @@
name: deploy
on:
workflow_run:
workflows: [release]
types: [completed]
#on:
# workflow_run:
# workflows: [release]
# types: [completed]
on: push
jobs:
deploy:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
#if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- uses: appleboy/ssh-action@v1
@@ -19,5 +21,5 @@ jobs:
passphrase: ${{ secrets.DEPLOY_PASSPHRASE }}
script: |
cd /opt/gallery
docker-compose pull
docker-compose up -d
/Volume1/@apps/DockerEngine/dockerd/bin/docker-compose pull
/Volume1/@apps/DockerEngine/dockerd/bin/docker-compose up -d
+1 -1
View File
@@ -1,6 +1,6 @@
name: test
on: push
#on: push
jobs:
test: