tilde-site/Makefile

17 lines
408 B
Makefile
Raw 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:
yes | ~/zola build -o ~/public_html
pushl:
. /home/ydreniv/venv-pushl/bin/activate ; pushl -c pushl-cache/ "https://tilde.town/~ydreniv/atom.xml"
preprod:
2023-01-25 15:03:53 +00:00
yes | ~/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