mirror of
https://codeberg.org/lauralani/www-lauka-net.git
synced 2024-11-24 05:00:02 +01:00
19 lines
632 B
YAML
19 lines
632 B
YAML
image: debian/bullseye
|
|
packages:
|
|
- nodejs
|
|
repositories:
|
|
nodejs: https://deb.nodesource.com/node_18.x bullseye main 1655A0AB68576280
|
|
secrets:
|
|
- 54755283-43f7-44a6-97fb-70db08184ff1
|
|
tasks:
|
|
- prepare: |
|
|
cd www-lauka-net
|
|
npm install -D @11ty/eleventy netlify-cli
|
|
- build: |
|
|
cd www-lauka-net
|
|
npx @11ty/eleventy --input=./ --output=public
|
|
- deploy: |
|
|
cd www-lauka-net
|
|
set +x && source ~/.buildsecrets && set -x
|
|
sshopts="ssh -o StrictHostKeyChecking=no"
|
|
rsync -avh --rsh="$sshopts" --delete --chown=webadmin:caddy ./public webadmin@web01vp.cloud.lauka.net:/webroot/www.lauka.net
|