Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (14 sloc) 0.431 kb
#!/bin/bash
if [ -z "$1" ]
then
echo "Must supply your username: ./publish.sh your_user_name"
exit 1
fi
if [ ! -f "README.md" ]; then
echo "This script must be run from the top of the 'bosh-website' repo."
exit 1
fi
gcf login -a https://api.run.pivotal.io -u $1 -o cfcommunity -s boshorg
RETVAL=$?
[ $RETVAL -eq 0 ] && gcf push bosh-cf-org -i 2 -d cloudfoundry.org -n bosh
[ $RETVAL -ne 0 ] && echo "Login Failure"
Jump to Line
Something went wrong with that request. Please try again.