Skip to content

Commit

Permalink
Merge pull request #78 from Pet-projects-CodePET/dev_docker
Browse files Browse the repository at this point in the history
added copy static to volume
  • Loading branch information
VladislavCR authored Feb 24, 2024
2 parents 87a90c3 + 83dfe7e commit 6cc3f2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions .github/workflows/qa_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6cc3f2d

Please sign in to comment.