tilde-site/Makefile

17 lines
416 B
Makefile
Raw Permalink Normal View History

2023-01-30 09:08:50 +00:00
all:
echo 😠
prod: build pushl
2023-01-25 08:55:24 +00:00
build:
2024-01-09 16:35:34 +00:00
yes | ~/bin/zola build -o ~/public_html
2023-01-25 08:55:24 +00:00
pushl:
. /home/ydreniv/venv-pushl/bin/activate ; pushl -c pushl-cache/ "https://tilde.town/~ydreniv/atom.xml"
preprod:
2024-01-09 16:35:34 +00:00
yes | ~/bin/zola build --base-url https://tests.kestrels-and-roses.rocks/ydreniv --drafts
echo "put -r public/* www" > sftp-batch.txt
sftp -b sftp-batch.txt tests.kestrels-and-roses.rocks
rm sftp-batch.txt