Exclude global-gitignore files
This commit is contained in:
parent
7db1a7c496
commit
1966ec526f
2 changed files with 5 additions and 1 deletions
|
|
@ -31,4 +31,5 @@ zola build --drafts --base-url "$PREVIEW" --output-dir "$PREVIEW_TEMP"
|
|||
# trailing slash: copy contents of directory into destination
|
||||
rsync --verbose --human-readable --recursive \
|
||||
--links --times --new-compress --delete-delay \
|
||||
--exclude-from=$HOME/.config/git/ignore \
|
||||
${EXTRA_OPTS_PREVIEW:-} "$PREVIEW_TEMP/" "${PREVIEW_HOST}:${PREVIEW_DIR}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue