From 1524808d1d7ebf8c8765ba53b3600413d6ef1867 Mon Sep 17 00:00:00 2001 From: Anton Potapov <47938145+Flagro@users.noreply.github.com> Date: Thu, 16 Nov 2023 14:17:38 +0100 Subject: [PATCH] github actions exec to run change --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 59b5187..adbdf61 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,6 +36,6 @@ jobs: echo 'ADMIN_PASSWORD=${{ secrets.ADMIN_PASSWORD }}' >> .env sudo ../limited-docker-compose.sh -f docker-compose.prod.yml build sudo ../limited-docker-compose.sh -f docker-compose.prod.yml up -d - sudo ../limited-docker-compose.sh -f docker-compose.prod.yml exec web python manage.py migrate - sudo ../limited-docker-compose.sh -f docker-compose.prod.yml exec web python manage.py collectstatic --noinput - sudo ../limited-docker-compose.sh -f docker-compose.prod.yml exec web python manage.py createadmin + sudo ../limited-docker-compose.sh -f docker-compose.prod.yml run web python manage.py migrate + sudo ../limited-docker-compose.sh -f docker-compose.prod.yml run web python manage.py collectstatic --noinput + sudo ../limited-docker-compose.sh -f docker-compose.prod.yml run web python manage.py createadmin