diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7c4b094b000dd1d2b5576bcd390b1867177db186..54bb12558af5313050351922bf046657098ffa4d 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 8909d53ac9412bb3524627fe7353b89ac711ff3e..0000000000000000000000000000000000000000 --- 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 52aeb224becc2f9aa8cb160b85600aa85d8be446..8eec25b9c99a95f6b60ea0d36bd6ca9cbdcea355 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