浏览代码

Pull builder code before building

main
Adrian Short 6 年前
父节点
当前提交
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 -

正在加载...
取消
保存