diff --git a/bin/deploy b/bin/deploy index 2e6aaed..559ab62 100755 --- a/bin/deploy +++ b/bin/deploy @@ -1,8 +1,17 @@ #!/usr/bin/env sh +# Get the latest code +echo "Getting the latest code" +git pull origin master + +echo "Downloading from Morph API" bundle exec bin/download + +echo "Building site" bundle exec bin/petrify cd _site git commit -am "Update content" + +echo "Pushing static site to git" git push origin master cd -