~animesh/anmsh.net

bdc31597670012cfbec132b2a6d1ef788ea97b6a — Animesh Bulusu 4 months ago 0cef7fb
Fix PEP-668 build error attempt#1
1 files changed, 5 insertions(+), 3 deletions(-)

M .build.yml
M .build.yml => .build.yml +5 -3
@@ 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"