Skip to content

Instantly share code, notes, and snippets.

@DMeechan
Created June 19, 2018 08:41
Show Gist options
  • Save DMeechan/e795eb7f45bcd5e3284c0e7c715ab03a to your computer and use it in GitHub Desktop.
Save DMeechan/e795eb7f45bcd5e3284c0e7c715ab03a to your computer and use it in GitHub Desktop.
DevOps Course Chapter 7 - Automating our deployments
#!/bin/bash
cf push -f ./manifest.yml
export APP_URL=http://$(cf app $CF_APP_NAME | grep -e urls: -e routes: | awk '{print $2}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment