2023-01-25 08:55:24 +00:00
|
|
|
all: build pushl
|
|
|
|
|
|
|
|
build:
|
|
|
|
yes | ~/zola build -o ~/public_html
|
|
|
|
|
|
|
|
pushl:
|
|
|
|
. /home/ydreniv/venv-pushl/bin/activate ; pushl -c pushl-cache/ "https://tilde.town/~ydreniv/atom.xml"
|
|
|
|
|
2023-01-25 13:31:32 +00:00
|
|
|
preprod:
|
2023-01-25 15:03:53 +00:00
|
|
|
yes | ~/zola build --base-url https://tests.kestrels-and-roses.rocks/ydreniv --drafts
|
2023-01-25 13:31:32 +00:00
|
|
|
echo "put -r public/* www" > sftp-batch.txt
|
|
|
|
sftp -b sftp-batch.txt tests.kestrels-and-roses.rocks
|
|
|
|
rm sftp-batch.txt
|