fix tree
This commit is contained in:
parent
37da2de5a1
commit
14a96869a4
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,7 @@ fi
|
|||
# optionally: create index
|
||||
if [ "${INPUT_INDEX}" ]; then
|
||||
if [ ! -e "${INPUT_DIRECTORY}/index.html" ]; then
|
||||
tree -H "${INPUT_DIRECTORY}" \
|
||||
tree "${INPUT_DIRECTORY}" -a -H "." \
|
||||
-D \
|
||||
--charset utf-8 \
|
||||
-T "${INPUT_INDEX_TITLE}" \
|
||||
|
@ -40,3 +40,5 @@ tar -C "${INPUT_DIRECTORY}" -czf - . \
|
|||
| ssh -o "IdentitiesOnly=yes" -i "${SSH_KEY_FILE}" \
|
||||
"${INPUT_HOST_USER}@${INPUT_HOST}"
|
||||
|
||||
# remove ssh key
|
||||
rm "${SSH_KEY_FILE}"
|
||||
|
|
Loading…
Reference in a new issue