Commit 57877a52 authored by  Syretta  Man's avatar Syretta Man

Update .gitlab-ci.yml

parent 275cc2cf
Pipeline #114476 failed
......@@ -16,12 +16,19 @@ job 1:
- mvn test
job 2:
stage: deploy
stage: deploy in heroku
script:
- mvn package
- export PORT=5000
- gem install --user-install dpl-heroku
- PATH="$(ruby -r rubygems -e 'puts Gem.user_dir')/bin:$PATH"
- dpl --provider=heroku --app=nym18-simplewebapp --api-key=b46e34b6-e062-4472-a5b4-09ed85dcef47
job 3:
stage: deploy in vm
script:
- mvn package
- export PORT= 5000
- sh /target/bin/simplewebapp
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