Skip to content

Commit

Permalink
[SKIP CI]
Browse files Browse the repository at this point in the history
  • Loading branch information
yybht155 authored Aug 6, 2024
1 parent 3e0b694 commit 834b864
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,14 @@ jobs:
SSH_KEY: ${{ secrets.PKEY }}
SSH_HOST: ${{ secrets.ENDPOINT }}

- name: Pull Image & Restart
- name: Pull Image
run: |
ssh jp 'cd /data/dify && docker-compose pull api web --ignore-pull-failures'
- name: Restart
run: |
ssh jp 'cd /data/dify && docker-compose restart'
ssh jp 'cd /data/dify && docker-compose up -d'
- name: Clean
run: |
ssh jp 'cd /data/dify && docker rmi $(docker images -f "dangling=true" -q)'

0 comments on commit 834b864

Please sign in to comment.