Skip to content

Commit

Permalink
Manually pulling without cache on ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakob-SA committed Nov 25, 2024
1 parent 134799c commit 05dc6ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05dc6ff

Please sign in to comment.