add a script to publish the webzine

This commit is contained in:
Solene Rapenne 2022-07-06 18:10:45 +02:00
parent 662d194f10
commit 4271b076aa
1 changed files with 15 additions and 0 deletions

15
publish.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
if test -f /bsd # on OpenBSD
then
cd issues && make && cd ../
else
nix-shell -p gnumake libxml2 --run "cd issues && make"
fi
rclone sync -v --size-only \
--sftp-set-modtime=false \
--sftp-disable-hashcheck=true \
--sftp-disable-concurrent-writes=true \
--sftp-disable-concurrent-reads=true \
public/ \
webzine:webzine.puffy.cafe/