Skip to content
This repository has been archived by the owner on Oct 26, 2018. It is now read-only.

Commit

Permalink
cloud isnt a thing
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Oct 4, 2012
1 parent c1a589d commit 828776d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions script/push
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ set -o pipefail


git="https://github.com/ddollar/anvil.git" git="https://github.com/ddollar/anvil.git"


# save cloud and switch to the standard cloud
cloud=$(heroku cloud)
heroku cloud standard

# release what is on github to anvil-staging # release what is on github to anvil-staging
env ANVIL_HOST=https://api.anvilworks.org heroku build $git -r -a anvil-staging env ANVIL_HOST=https://api.anvilworks.org heroku build $git -r -a anvil-staging


Expand All @@ -24,12 +20,3 @@ slug=$(env ANVIL_HOST=https://anvil-staging.herokuapp.com heroku build $git -p -
# release to standard staging and production # release to standard staging and production
heroku release $slug -a anvil-staging heroku release $slug -a anvil-staging
heroku release $slug -a anvil-production heroku release $slug -a anvil-production

# switch to shadow cloud
heroku cloud shadow

# release to shadow production
heroku release $slug -a anvil-production

# restore old cloud
heroku cloud $cloud

0 comments on commit 828776d

Please sign in to comment.