Skip to content

Commit

Permalink
Always check to make sure we're up-to-date.
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanhammond committed Apr 27, 2014
1 parent 5957091 commit 770ed31
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

# Make sure we're in a good state.
git checkout master
git pull
rm -rf dist
ember build --environment production

# Move to the "release" branch and make everything work.
git checkout gh-pages
git pull
ls -1 | grep -v -E '^dist$' | xargs rm -rf
mv dist/* ./
mv dist/.* ./
Expand All @@ -16,4 +18,5 @@ rmdir dist
git commit -am "Update."
git push
git checkout master
git pull
./install.sh

0 comments on commit 770ed31

Please sign in to comment.