You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
421 B
Bash
19 lines
421 B
Bash
#!/bin/sh
|
|
|
|
git switch main || exit
|
|
git pull -r || exit
|
|
|
|
if test -f /bsd # on OpenBSD
|
|
then
|
|
cd issues && make && cd ../
|
|
else
|
|
nix shell nixpkgs#gnumake nixpkgs#libxml2 -c /bin/sh -c "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/
|