Skip to content

Commit

Permalink
refactor: down and up instead of restarting
Browse files Browse the repository at this point in the history
  • Loading branch information
geoje committed Nov 18, 2024
1 parent af7335b commit a93431f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/be-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,6 @@ jobs:
key: ${{ secrets.KEY }}
script: |
cd ~/${{ github.event.repository.name }}
docker compose restart be
docker compose stop be
docker compose rm -f be
docker compose up -d be
2 changes: 2 additions & 0 deletions .github/workflows/fe-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,6 @@ jobs:
key: ${{ secrets.KEY }}
script: |
cd ~/${{ github.event.repository.name }}
docker compose stop fe
docker compose rm -f fe
docker compose up -d fe

0 comments on commit a93431f

Please sign in to comment.