From a619a1785349fa4d9a84b77f233d27dc495fce26 Mon Sep 17 00:00:00 2001 From: Bruno Bernardino Date: Tue, 8 Oct 2024 14:38:01 +0100 Subject: [PATCH] Fix final docker compose script --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ecb6ef1..6a92769 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,4 +30,4 @@ jobs: SSH_KEY: ${{ secrets.SSH_KEY }} - name: Deploy via SSH - run: ssh server 'cd apps/budgetzen-web && git add . && git stash && git pull origin main && git stash clear && git remote prune origin && cp ../../scripts/config/budgetzen-web/.env . && cp ../../scripts/config/budgetzen-web/docker-compose.yml . && docker system prune -f && docker-compose up -d --build && docker-compose ps && docker-compose logs' + run: ssh server 'cd apps/budgetzen-web && git add . && git stash && git pull origin main && git stash clear && git remote prune origin && cp ../../scripts/config/budgetzen-web/.env . && cp ../../scripts/config/budgetzen-web/docker-compose.yml . && docker system prune -f && docker compose up -d --build && docker compose ps && docker compose logs'