Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rwinch committed Mar 18, 2024
1 parent 9d51426 commit 90243b3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions rsync-antora-reference/src/rsync_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,15 @@ __rsync_docs() {
fi
rsync_opts="$rsync_opts --exclude /.github-repository --exclude /.cache --exclude /.cache/* "
if [ -n "$build_ref_name" ]; then
echo "specific build"
rsync_opts="-c $rsync_opts$(find $local_path -mindepth 1 -maxdepth 1 \! -name 404.html \! -name '.*' -type f -printf ' --include /%P')"
rsync_opts="$rsync_opts$(find $local_path -mindepth 1 -maxdepth 1 -type d \! -name _ -printf ' --include /%P --include /%P/**') --exclude **"
fi
# Disable filename expansion (globbing)
# https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
set -f
echo "build_ref_name $build_ref_name"
echo "rsync_opts $rsync_opts"
rsync $rsync_opts -e "ssh -i $ssh_private_key_path" $local_path/ "$ssh_host:$ssh_host_path"
set +f
}
Expand Down

0 comments on commit 90243b3

Please sign in to comment.