浏览代码

don't nuke CNAME when updating gh-pages branch

Kirill Vainer 7 年之前
父节点
当前提交
438a6d93c2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      deploy_ghpages.sh

+ 1 - 1
deploy_ghpages.sh

@@ -28,7 +28,7 @@ rm -Rf gh-pages
 git clone -b gh-pages --single-branch https://${GH_TOKEN}@github.com/${repo} gh-pages > /dev/null
 cd gh-pages
 
-rsync -az --stats --delete --exclude .git --force ../build/asciidoc/html5/ .
+rsync -az --stats --delete --exclude .git --exclude CNAME --force ../build/asciidoc/html5/ .
 
 git config --local user.email "[email protected]"
 git config --local user.name "Travis"