Преглед на файлове

Pull builder code before building

main
Adrian Short преди 5 години
родител
ревизия
1933db87f1
променени са 1 файла, в които са добавени 9 реда и са изтрити 0 реда
  1. +9
    -0
      bin/deploy

+ 9
- 0
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 -

Зареждане…
Отказ
Запис