Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Collection of Practice
2019
1606876052-practice
Commits
187f32dc
Commit
187f32dc
authored
Sep 18, 2019
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
187f32dc
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
Procfile
0 → 100644
View file @
187f32dc
web: gunicorn superlists.wsgi --log-file -
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment