mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-27 14:57:40 +00:00
fixup! publish all
This commit is contained in:
parent
3a09348e3b
commit
be2b7af74a
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ if [[ $# -eq 0 ]]; then
|
||||||
if [[ "$delete" != "" ]]; then
|
if [[ "$delete" != "" ]]; then
|
||||||
bail "no paths given, cowardly refusing to publish everything with --delete"
|
bail "no paths given, cowardly refusing to publish everything with --delete"
|
||||||
fi
|
fi
|
||||||
$prefix rsync -aKv $dryrun $delete public/* "$publish_host":"${publish_dir}"
|
$prefix rsync -aKv $dryrun $delete www/* "$publish_host":"${publish_dir}"
|
||||||
else
|
else
|
||||||
$prefix rsync -aKv $dryrun $delete "$@" "$publish_host":"${publish_dir}"
|
$prefix rsync -aKv $dryrun $delete "$@" "$publish_host":"${publish_dir}"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue