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

[mk3918][ieo119] Add comment explaining the URL

parent cf142721
Pipeline #171984 failed
......@@ -26,7 +26,6 @@ test-job:
deploy-test:
stage: deploy-staging
before_script:
script:
- echo "Deploy to staging environment."
- export PORT=$PORT_NO
......@@ -35,14 +34,14 @@ deploy-test:
- apt-get update && apt-get install -y screen
- screen -m -d sh $SH_PATH
- IP=`curl ifconfig.me`
- echo "https://${IP}:${PORT_NO}"
- echo "URL of test deployment: 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 install -y curl
- 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