fix: Update docker build command with --no-cache
All checks were successful
Update Memento Dev on VPS / deploy (push) Successful in 4m14s

This commit is contained in:
Gauthier Daniels 2025-04-17 20:19:41 +02:00
parent 68d5cd6129
commit 5c794e7284

View File

@ -41,7 +41,7 @@ jobs:
VPS_PATH: ${{ secrets.VPS_PATH }}
VPS_PORT: ${{ secrets.VPS_PORT }}
run: |
ssh -i ~/.ssh/id_ed25519 -p $VPS_PORT $VPS_USER@$VPS_HOST "cd $VPS_PATH && docker compose -f compose-prod.yml build"
ssh -i ~/.ssh/id_ed25519 -p $VPS_PORT $VPS_USER@$VPS_HOST "cd $VPS_PATH && docker compose -f compose-prod.yml build --no-cache"
echo "📦 The application have been builded on the VPS."
- name: Start the application