image: debian/bullseye packages: - nodejs - rsync repositories: nodejs: https://deb.nodesource.com/node_18.x bullseye main 1655A0AB68576280 environment: REMOTE: web01vp.cloud.lauka.net secrets: - 54755283-43f7-44a6-97fb-70db08184ff1 tasks: - prepare: | cd www-lauka-net npm install -D @11ty/eleventy - build: | cd www-lauka-net npx @11ty/eleventy --input=./ --output=public - deploy: | ssh-keyscan -t ed25519 $REMOTE >> $HOME/.ssh/known_hosts cd www-lauka-net/public rsync -avh --delete --chown=webadmin:caddy ./public webadmin@$REMOTE:/webroot/www.lauka.net