~animesh/anmsh.net

83435b2e0aacfe913a36df5ecc27d2a05305ea01 — Animesh Bulusu 4 months ago 5c06ca0
Use pipx run to fix PEP-668 error
1 files changed, 4 insertions(+), 9 deletions(-)

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