From cd912a00c36d2cbcb495ab21b4975f9ee2d647d5 Mon Sep 17 00:00:00 2001 From: Rodrigo Delduca Date: Sun, 15 Dec 2024 11:23:21 -0300 Subject: [PATCH] Work in progress --- .github/workflows/deploy.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 1c5121d..500bd54 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -28,10 +28,6 @@ jobs: DOCKER_HOST: ssh://root@${{ secrets.HETZNER_IP }} CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }} run: | - docker compose --file compose.yaml --file cloudflare.yaml --file logging.yaml down - - docker system prune --all --force - if docker ps -a --format '{{.Names}}' | grep -Eq '^redis$'; then echo "Removing existing 'redis' container..." docker rm -f redis @@ -39,4 +35,6 @@ jobs: echo "'redis' container does not exist. No action needed." fi + docker system prune --all --force + docker compose --file compose.yaml --file cloudflare.yaml --file logging.yaml up --build --force-recreate --detach