feat(preprod): Makefile has a preprod stage

main
ydreniv 2023-01-25 13:31:32 +00:00
parent e34483c431
commit 36b06b54a7
2 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
pushl-cache pushl-cache
public

View File

@ -6,3 +6,8 @@ build:
pushl: pushl:
. /home/ydreniv/venv-pushl/bin/activate ; pushl -c pushl-cache/ "https://tilde.town/~ydreniv/atom.xml" . /home/ydreniv/venv-pushl/bin/activate ; pushl -c pushl-cache/ "https://tilde.town/~ydreniv/atom.xml"
preprod:
yes | ~/zola build --base-url https://tests.kestrels-and-roses.rocks/ydreniv
echo "put -r public/* www" > sftp-batch.txt
sftp -b sftp-batch.txt tests.kestrels-and-roses.rocks
rm sftp-batch.txt