Commit b6408e8b authored by Sigurd Røstad Augdal's avatar Sigurd Røstad Augdal
Browse files

Update .gitlab-ci.yml, docker-compose.yml files - second try.

parent f447e43a
Pipeline #118625 passed with stages
in 5 minutes and 24 seconds
......@@ -60,7 +60,6 @@ deploy-stage:
only:
- develop
stage: deploy
--skip-cleanup: true
before_script:
- apt-get update -qy
- apt-get install -y ruby-dev
......@@ -68,14 +67,13 @@ deploy-stage:
script:
- echo "Deploying to Heroku stage"
- dpl --provider=heroku --app=$HEROKU_FRONTEND_APP_STAGE --api-key=$HEROKU_API_KEY
- dpl --provider=heroku --app=$HEROKU_BACKEND_APP_STAGE --api-key=$HEROKU_API_KEY
- dpl --provider=heroku --app=$HEROKU_BACKEND_APP_STAGE --api-key=$HEROKU_API_KEY --skip-cleanup=true
deploy-prod:
image: ruby:latest
only:
- master
stage: deploy
--skip-cleanup: true
before_script:
- apt-get update -qy
- apt-get install -y ruby-dev
......@@ -83,5 +81,5 @@ deploy-prod:
script:
- echo "Deploying to Heroku production"
- dpl --provider=heroku --app=$HEROKU_FRONTEND_APP_PRODUCTION --api-key=$HEROKU_API_KEY
- dpl --provider=heroku --app=$HEROKU_BACKEND_APP_PRODUCTION --api-key=$HEROKU_API_KEY
- dpl --provider=heroku --app=$HEROKU_BACKEND_APP_PRODUCTION --api-key=$HEROKU_API_KEY --skip-cleanup=true
......@@ -6,7 +6,6 @@ services:
build:
context: backend/secfit/
dockerfile: Dockerfile
skip_cleanup: true
args:
DJANGO_SUPERUSER_USERNAME: "${DJANGO_SUPERUSER_USERNAME}"
DJANGO_SUPERUSER_PASSWORD: "${DJANGO_SUPERUSER_PASSWORD}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment