From e24c7363ba25c5829349440dd8a0c3048995fc26 Mon Sep 17 00:00:00 2001 From: Francis Vauterin <159532420+francisvaut@users.noreply.github.com> Date: Tue, 9 Apr 2024 22:28:45 +0200 Subject: [PATCH] build: change sh -c to bash -c (#278) --- .github/workflows/deployement.yml | 2 +- production.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: