pfaltgall/updateAndUpload.sample.bash
2024-10-31 22:58:54 +01:00

14 lines
233 B
Bash
Executable file

#!/bin/bash
set -e
basedir=$(dirname "$0")
cd "$basedir"
outfp='index.html'
./pfaltgall 'pixelfed.social.conf' "${outfp}"
curl -s --ssl-reqd --ftp-pasv -T "${outfp}" -u "username:password" ftp://some_hostname/pfaltgall/
exit 0