mirror of
https://codeberg.org/lauralani/www-lauka-net.git
synced 2024-11-27 22:40:02 +01:00
17 lines
535 B
YAML
17 lines
535 B
YAML
image: debian/bullseye
|
|
packages:
|
|
- nodejs
|
|
repositories:
|
|
nodejs: https://deb.nodesource.com/node_18.x bullseye main 1655A0AB68576280
|
|
environment:
|
|
NETLIFY_SITE_ID: 9e86e7a4-85e1-4039-a7df-f2d25cf8392c
|
|
secrets:
|
|
- 5f55bef1-5d12-4020-97bf-f622e50146a9
|
|
tasks:
|
|
- prepare: |
|
|
npm install -D @11ty/eleventy netlify-cli
|
|
- build: |
|
|
npx @11ty/eleventy --input=./www-lauka-net --output=public
|
|
- deploy: |
|
|
set +x && source ~/.buildsecrets && set -x
|
|
npx netlify deploy --site=$NETLIFY_SITE_ID --dir=public --prod
|