Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
td1518
simplewebapp
Commits
ad0bccd9
Commit
ad0bccd9
authored
Jan 17, 2020
by
Viraj Shah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deploy on both vm and heroku
parent
7ac3b546
Pipeline
#113439
passed with stages
in 4 minutes and 25 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
.gitlab-ci.yml
.gitlab-ci.yml
+8
-1
No files found.
.gitlab-ci.yml
View file @
ad0bccd9
...
...
@@ -13,7 +13,14 @@ test:
script
:
-
mvn test
deploy
:
gitlab-deploy
:
stage
:
deploy
script
:
-
systemctl --user stop simple-webapp.service
-
mvn package
-
systemctl --user start simple-webapp.service
heroku-deploy
:
stage
:
deploy
script
:
-
dpl --provider=heroku --app=vs3318-simplewebapp --api-key=$API_TOKEN
...
...
Write
Preview
Markdown
is supported
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