Browse Source

build: remove files, when publish on gh-pages

David Bernard 9 năm trước cách đây
mục cha
commit
8e0215a038
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      deploy_ghpages.sh

+ 1 - 1
deploy_ghpages.sh

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