Skip to content

Commit

Permalink
action containers pulling
Browse files Browse the repository at this point in the history
  • Loading branch information
alwaysmeow committed May 28, 2024
1 parent e312875 commit 8a9b1cb
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ jobs:
port: 22
script: |
cd app/WebManager
docker-compose stop
docker rm wm-client
docker rm wm-server
docker rm wm-scheduler
docker rmi webmanager_client
docker rmi webmanager_scheduler
docker rmi webmanager_server
docker-compose stop wm-client wm-server wm-scheduler
docker rm -f wm-client wm-server wm-scheduler || true
docker rmi -f webmanager-client webmanager-scheduler webmanager-server || true
git pull
docker-compose up -d
docker pull alwaysmeow/webmanager-server:latest
docker pull alwaysmeow/webmanager-scheduler:latest
docker pull alwaysmeow/webmanager-client:latest
docker-compose up -d
docker exec -it wm-client sudo certbot --nginx -d webmanager.su -m ${{ secrets.EMAIL }} --agree-tos

0 comments on commit 8a9b1cb

Please sign in to comment.