2022-07-06 16:10:45 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2022-07-19 14:35:39 +00:00
|
|
|
git switch main || exit
|
|
|
|
git pull -r || exit
|
|
|
|
|
2022-07-06 16:10:45 +00:00
|
|
|
if test -f /bsd # on OpenBSD
|
|
|
|
then
|
|
|
|
cd issues && make && cd ../
|
|
|
|
else
|
2023-10-16 20:48:28 +00:00
|
|
|
if type xmllint
|
|
|
|
then
|
|
|
|
cd issues && make
|
2023-10-17 07:52:13 +00:00
|
|
|
cd -
|
2023-10-16 20:48:28 +00:00
|
|
|
fi
|
2022-07-06 16:10:45 +00:00
|
|
|
fi
|
2023-09-13 09:58:12 +00:00
|
|
|
rclone sync -L -v --size-only \
|
2022-07-06 16:10:45 +00:00
|
|
|
--sftp-set-modtime=false \
|
|
|
|
--sftp-disable-hashcheck=true \
|
|
|
|
--sftp-disable-concurrent-writes=true \
|
|
|
|
--sftp-disable-concurrent-reads=true \
|
|
|
|
public/ \
|
|
|
|
webzine:webzine.puffy.cafe/
|