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
|
# optionally: create index
|
||||||
if [ "${INPUT_INDEX}" ]; then
|
if [ "${INPUT_INDEX}" ]; then
|
||||||
if [ ! -e "${INPUT_DIRECTORY}/index.html" ]; then
|
if [ ! -e "${INPUT_DIRECTORY}/index.html" ]; then
|
||||||
tree -H "${INPUT_DIRECTORY}" \
|
tree "${INPUT_DIRECTORY}" -a -H "." \
|
||||||
-D \
|
-D \
|
||||||
--charset utf-8 \
|
--charset utf-8 \
|
||||||
-T "${INPUT_INDEX_TITLE}" \
|
-T "${INPUT_INDEX_TITLE}" \
|
||||||
|
@ -40,3 +40,5 @@ tar -C "${INPUT_DIRECTORY}" -czf - . \
|
||||||
| ssh -o "IdentitiesOnly=yes" -i "${SSH_KEY_FILE}" \
|
| ssh -o "IdentitiesOnly=yes" -i "${SSH_KEY_FILE}" \
|
||||||
"${INPUT_HOST_USER}@${INPUT_HOST}"
|
"${INPUT_HOST_USER}@${INPUT_HOST}"
|
||||||
|
|
||||||
|
# remove ssh key
|
||||||
|
rm "${SSH_KEY_FILE}"
|
||||||
|
|
Loading…
Reference in a new issue