From 1329f76d5b502d655115aaea3d5ae7395e673001 Mon Sep 17 00:00:00 2001 From: julienhouyet Date: Fri, 15 Mar 2024 12:56:42 +0100 Subject: [PATCH] chore: optimize deploy --- .github/workflows/deploy-prod.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 03f8753..73ce4c5 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -22,7 +22,6 @@ jobs: ssh -o StrictHostKeyChecking=no -p ${{ secrets.SSH_PORT }} ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }} << EOF cd /var/www/api.pokedexia.com git pull origin main - docker compose -f docker/prod/docker-compose.yml down - docker compose -f docker/prod/docker-compose.yml build --no-cache + docker compose -f docker/prod/docker-compose.yml build docker compose -f docker/prod/docker-compose.yml up -d EOF