diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 6171ec4..90a8c0d 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -123,8 +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 + docker pull ${{ secrets.HUB_USER }}/backend:latest + docker pull ${{ 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