Planning applications tracker for InLinkUK from BT kiosks.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
303 B

  1. #!/usr/bin/env sh
  2. # Get the latest code
  3. echo "Getting the latest code"
  4. git pull origin master
  5. echo "Downloading from Morph API"
  6. bundle exec bin/download
  7. echo "Building site"
  8. bundle exec bin/build
  9. cd _site
  10. git commit -am "Update content"
  11. echo "Pushing static site to git"
  12. git push origin master
  13. cd -