Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Collection of Practice
2019
1606837915-practice
Commits
2e4406d9
Commit
2e4406d9
authored
Dec 23, 2019
by
Izzatul Muttaqin
Browse files
Update .gitlab-ci.yml
parent
0cf84e5d
Pipeline
#28237
canceled with stages
in 6 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
2e4406d9
...
...
@@ -35,7 +35,7 @@ TestFunctional:
-
python3 manage.py migrate
-
python3 manage.py test functional_test
D
eploy
ment
:
d
eploy
:
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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