Fakultas Ilmu Komputer UI

Commit 187f32dc authored by Rayza Arasj Mahardhika's avatar Rayza Arasj Mahardhika
Browse files

add gitlab cd to deploy to heroku

parent 98d71aa0
Pipeline #19924 failed with stage
in 1 minute and 4 seconds
stages:
- deploy
Deployment:
image: ruby:2.4
stage: deploy
before_script:
- gem install dpl
- wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh
script:
- dpl --provider=heroku --app=$HEROKU_APPNAME --api-key=$HEROKU_APIKEY
- export HEROKU_API_KEY=$HEROKU_APIKEY
- heroku run --app $HEROKU_APPNAME migrate
environment:
name: production
url: $HEROKU_APP_HOST
web: gunicorn superlists.wsgi --log-file -
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