diff --git a/.github/workflows/deployement.yml b/.github/workflows/deployement.yml index b58e7852..eb61c1ac 100644 --- a/.github/workflows/deployement.yml +++ b/.github/workflows/deployement.yml @@ -19,6 +19,6 @@ jobs: script: | cd UGent-7 docker-compose -f production.yml down - git pull + git pull --force docker-compose -f production.yml build --no-cache docker-compose -f production.yml up -d diff --git a/production.yml b/production.yml index 13aacc0b..d58814e4 100644 --- a/production.yml +++ b/production.yml @@ -64,7 +64,7 @@ services: build: context: $BACKEND_DIR dockerfile: Dockerfile - command: sh -c "./setup.sh && gunicorn --config gunicorn_config.py ypovoli.wsgi:application" + command: bash -c "./setup.sh && gunicorn --config gunicorn_config.py ypovoli.wsgi:application" expose: - 8080 depends_on: