Remove file after pushing with rsync

This commit is contained in:
Jacob 2023-09-16 17:47:16 +02:00
parent 41eed066a4
commit a678c78a99

View file

@ -27,3 +27,5 @@ if [ "$1" = "publish" ]; then
[ ! -x "$(command -v rsync)" ] && printf "rsync not found.\n" > /dev/stderr && exit 1
rsync -avPz packages/ ${SERVER_USER}@${SERVER_IP}:${SERVER_LOCATION}/packages/
fi
rm -f packages/.need_mktar