diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 76d008c..dc53e52 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -99,4 +99,5 @@ jobs: sudo docker compose -f docker-compose-prod.yaml up -d sudo docker compose -f docker-compose-prod.yaml exec backend python manage.py migrate sudo docker compose -f docker-compose-prod.yaml exec backend python manage.py collectstatic --no-input + sudo docker compose -f docker-compose-prod.yaml exec backend cp -r static/. /backend_static/static/ sudo docker system prune -f diff --git a/.github/workflows/qa_deploy.yaml b/.github/workflows/qa_deploy.yaml index 9802ff0..4a86c70 100644 --- a/.github/workflows/qa_deploy.yaml +++ b/.github/workflows/qa_deploy.yaml @@ -99,4 +99,5 @@ jobs: sudo docker compose -f docker-compose-prod.yaml up -d sudo docker compose -f docker-compose-prod.yaml exec backend python manage.py migrate sudo docker compose -f docker-compose-prod.yaml exec backend python manage.py collectstatic --no-input + sudo docker compose -f docker-compose-prod.yaml exec backend cp -r static/. /backend_static/static/ sudo docker system prune -f