Commit ad0bccd9 authored by Viraj Shah's avatar Viraj Shah

Deploy on both vm and heroku

parent 7ac3b546
Pipeline #113439 passed with stages
in 4 minutes and 25 seconds
......@@ -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
......
Markdown is supported
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