Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 23 lines (18 sloc) 0.47 kb
#!/usr/bin/env ruby
require_relative "../lib/ferret"
bash(retry: 1, name: :setup, stdin: <<'EOF')
cd $FERRET_DIR/app/basic_http
rm /.git
heroku create $SERVICE_APP_NAME
git init
git add *
git commit -m "initial"
git push heroku master
EOF
run_every_time do
bash(retry: 2, name: :clone, pattern: /cloned an empty repository/, stdin: <<'EOF')
rm -rf ./tmp
git clone https://code.heroku.com/$SERVICE_APP_NAME.git ./tmp
EOF
end
run forever: true
Jump to Line
Something went wrong with that request. Please try again.