From 756a321a4cee67af93f639119eafecf16bfdb876 Mon Sep 17 00:00:00 2001 From: francis Date: Tue, 9 Apr 2024 22:26:58 +0200 Subject: [PATCH] build: change sh -c to bash -c --- .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: