Prechádzať zdrojové kódy

build: remove files, when publish on gh-pages

David Bernard 9 rokov pred
rodič
commit
8e0215a038
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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"