Fakultas Ilmu Komputer UI

Commit 2e4406d9 authored by Izzatul Muttaqin's avatar Izzatul Muttaqin
Browse files

Update .gitlab-ci.yml

parent 0cf84e5d
Pipeline #28237 canceled with stages
in 6 minutes and 59 seconds
......@@ -35,7 +35,7 @@ TestFunctional:
- python3 manage.py migrate
- python3 manage.py test functional_test
Deployment:
deploy:
image: ruby:2.4
stage: deploy
before_script:
......@@ -44,8 +44,7 @@ Deployment:
script:
- dpl --provider=heroku --app=$HEROKU_APPNAME --api-key=$HEROKU_APIKEY
- export HEROKU_API_KEY=$HEROKU_APIKEY
- heroku ps:scale web=1 migrate=1 --app $HEROKU_APPNAME
- heroku ps:restart --app=$HEROKU_APPNAME
- heroku run --app $HEROKU_APPNAME migrate
environment:
name: production
url: $HEROKU_APP_HOST
......
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