Przeglądaj źródła

Ignore .git directory (will be deleted otherwise) (#88)

Co-authored-by: Henry Pauli <henry@mixict.nl>
Henry 5 lat temu
rodzic
commit
c17afe47c4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      .github/deploy_wiki.sh

+ 1 - 1
.github/deploy_wiki.sh

@@ -56,7 +56,7 @@ tmp_dir=$(mktemp -d -t ci-XXXXXXXXXX)
 )
 
 debug "Rsync contents of $WIKI_PATH"
-rsync -q -a --delete "$GITHUB_WORKSPACE/$WIKI_PATH/" "$tmp_dir"
+rsync -q -a --delete --exclude=.git "$GITHUB_WORKSPACE/$WIKI_PATH/" "$tmp_dir"
 
 if [ ! -r "$tmp_dir/Home.md" ]; then
     debug "Copy README.md to wiki/Home.md"