@@ 2,7 2,7 @@ image: debian/stable
secrets:
- b5487610-ce34-4bd3-b869-bfb009904a23
packages:
- - pip
+ - pipx
- rsync
environment:
site: anmsh.net
@@ 10,10 10,12 @@ sources:
- https://git.sr.ht/~animesh/anmsh.net
tasks:
- install: |
- sudo pip install lektor &> /dev/null
+ pwd
+ pipx install lektor
- build: |
cd $site
- lektor build --output-path public -f minify:html,css,js &> /dev/null
+ pwd
+ lektor build --output-path public -f minify:html,css,js
gzip -k -6 -r public
- deploy: |
rsync -r $site/public/* dploy@anmsh.net:/var/www/anmsh.net/ -e "ssh -p 11132 -o StrictHostKeyChecking=no"