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

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"