14 lines
233 B
Bash
Executable file
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
|