Skip to content

Commit

Permalink
test deploy18
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegGsk committed Sep 27, 2024
1 parent 4ddddd5 commit 1ed0ca7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/prod_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,5 @@ jobs:
echo "adaptive_hockey_federation.service is active"
# docker exec adaptive_hockey_federation python manage.py collectstatic --noinput
# docker exec adaptive_hockey_federation python manage.py migrate
docker compose -f docker-compose.prod.yaml --env-file /home/production/adaptive_hockey_federation/.env exec adaptive_hockey_federation python manage.py collectstatic --noinput
docker compose -f docker-compose.prod.yaml --env-file /home/production/adaptive_hockey_federation/.env exec adaptive_hockey_federation python manage.py migrate
docker exec adaptive_hockey_federation python manage.py collectstatic --noinput
docker exec adaptive_hockey_federation python manage.py migrate
2 changes: 1 addition & 1 deletion infra/prod/adaptive_hockey_federation.service
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ User=production
WorkingDirectory=/home/production/adaptive_hockey_federation/infra/prod/

ExecStartPre=docker compose -f docker-compose.prod.yaml --env-file /home/production/adaptive_hockey_federation/.env down
ExecStartPre=docker compose -f docker-compose.prod.yaml --env-file /home/production/adaptive_hockey_federation/.env pull site
ExecStartPre=docker compose -f docker-compose.prod.yaml --env-file /home/production/adaptive_hockey_federation/.env pull adaptive_hockey_federation
ExecStartPre=docker compose -f docker-compose.prod.yaml --env-file /home/production/adaptive_hockey_federation/.env pull db
ExecStartPre=docker compose -f docker-compose.prod.yaml --env-file /home/production/adaptive_hockey_federation/.env pull swag

Expand Down

0 comments on commit 1ed0ca7

Please sign in to comment.