First commit
This commit is contained in:
parent
ad8999463c
commit
017e527709
1 changed files with 14 additions and 0 deletions
14
updateAndUpload.sample.bash
Executable file
14
updateAndUpload.sample.bash
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/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
|
Loading…
Reference in a new issue