@@ 10,7 10,9 @@ sources:
- https://git.sr.ht/~animesh/anmsh.net
tasks:
- build: |
- pipx run lektor build --output-path $site/public -f minify:html,css,js &> /dev/null
+ cd $site
+ pipx run lektor build --output-path public -f minify:html,css,js &> /dev/null
gzip -k -6 -r public
- deploy: |
- rsync -r $site/public/* dploy@anmsh.net:/var/www/anmsh.net/ -e "ssh -p 11132 -o StrictHostKeyChecking=no"
+ cd $site
+ rsync -r public/* dploy@anmsh.net:/var/www/anmsh.net/ -e "ssh -p 11132 -o StrictHostKeyChecking=no"