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

[mk3918][ieo119] Install curl command and display url of test deployment

parent 9a832c66
Pipeline #171982 passed with stages
in 6 minutes
......@@ -34,13 +34,15 @@ deploy-test:
- echo "Install screen utility."
- apt-get update && apt-get install -y screen
- screen -m -d sh $SH_PATH
- IP=`curl ifconfig.me`
- echo "https://${IP}:${PORT_NO}"
interruptible: true
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 && apt-get install -y curl
- 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