Commit d5142483 authored by Onadim, Izer's avatar Onadim, Izer
Browse files

[mk3918][ieo119] Add curl installation to yml file

parent f167a01c
Pipeline #171985 failed
......@@ -31,7 +31,7 @@ deploy-test:
- export PORT=$PORT_NO
- mvn package
- echo "Install screen utility."
- apt-get update && apt-get install -y screen
- apt-get update && apt-get install -y screen && apt-get install -y curl
- screen -m -d sh $SH_PATH
- IP=`curl ifconfig.me`
- echo "URL of test deployment: https://${IP}:${PORT_NO}"
......@@ -41,7 +41,7 @@ deploy-prod:
stage: deploy
script:
- echo "Deploy to production."
- apt-get update && apt-get install -y ruby
- apt-get update && apt-get install -y ruby
- gem install --user-install dpl-heroku
- if which ruby >/dev/null && which gem >/dev/null; then
- PATH="$(ruby -r rubygems -e 'puts Gem.user_dir')/bin:$PATH"
......
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