From 05dc6fff401b350e4ba96c626a71f5338ad2fccd Mon Sep 17 00:00:00 2001 From: Jakob-SA Date: Mon, 25 Nov 2024 15:10:05 +0100 Subject: [PATCH] Manually pulling without cache on ssh --- .github/workflows/dotnet.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 3c90129..6171ec4 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -123,6 +123,8 @@ jobs: run: | ssh -o StrictHostKeyChecking=no ${{secrets.SERVER_USER}}@${{ secrets.SERVER_HOST }} << 'EOF' cd /home/azureuser/DevOps-fullstack + docker pull --no-cache ${{ secrets.HUB_USER }}/backend:latest + docker pull --no-cache ${{ secrets.HUB_USER }}/frontend:latest export $(grep -v '^#' .env.prod | xargs) docker-compose --env-file .env.prod -f docker-compose.prod.yml up -d EOF