From e53c9905d15f66fdeb2186b303a4194997094ab7 Mon Sep 17 00:00:00 2001 From: Pernille Welle-Watne <perniww@online.no> Date: Mon, 22 Feb 2021 18:08:35 +0100 Subject: [PATCH] trying again --- .gitlab-ci.yml | 10 +++++++++- Procfile | 1 - heruko.yml | 7 ------- 3 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 Procfile diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7c4b094b..54bb1255 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,8 +10,16 @@ test: - pip install -r requirements.txt - python manage.py test - staging: + stage: staging + script: + - echo “Deploying the app†+ - pip install docker-compose + - docker-compose build + - docker-compose up -d + + +development: type: deploy image: ruby script: diff --git a/Procfile b/Procfile deleted file mode 100644 index 8909d53a..00000000 --- a/Procfile +++ /dev/null @@ -1 +0,0 @@ -web: python backend/secfit/manage.py runserver 0.0.0.0:$PORT \ No newline at end of file diff --git a/heruko.yml b/heruko.yml index 52aeb224..8eec25b9 100644 --- a/heruko.yml +++ b/heruko.yml @@ -1,10 +1,3 @@ build: docker: web: Dockerfile - run: - web: python backend/secfit/manage.py runserver 0.0.0.0:$PORT - release: - image: web - command: - - cd backend/secfit - - python manage.py collectstatic --noinput \ No newline at end of file -- GitLab