diff --git a/.github/workflows/be-cd.yaml b/.github/workflows/be-cd.yaml index d6ed643..f49ee17 100644 --- a/.github/workflows/be-cd.yaml +++ b/.github/workflows/be-cd.yaml @@ -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 diff --git a/.github/workflows/fe-cd.yaml b/.github/workflows/fe-cd.yaml index aa77b41..aa48d63 100644 --- a/.github/workflows/fe-cd.yaml +++ b/.github/workflows/fe-cd.yaml @@ -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