2023-02-25 20:14:18 +01:00
|
|
|
image: debian/bullseye
|
2023-02-25 19:58:56 +01:00
|
|
|
packages:
|
|
|
|
- nodejs
|
2023-02-25 20:42:02 +01:00
|
|
|
repositories:
|
|
|
|
nodejs: https://deb.nodesource.com/node_18.x bullseye main 1655A0AB68576280
|
2023-02-26 10:20:01 +01:00
|
|
|
environment:
|
|
|
|
NETLIFY_SITE_ID: 9e86e7a4-85e1-4039-a7df-f2d25cf8392c
|
2023-02-25 19:58:56 +01:00
|
|
|
secrets:
|
2023-02-26 10:21:12 +01:00
|
|
|
- 5f55bef1-5d12-4020-97bf-f622e50146a9
|
2023-02-25 19:58:56 +01:00
|
|
|
tasks:
|
|
|
|
- prepare: |
|
2023-02-26 10:20:01 +01:00
|
|
|
npm install -D @11ty/eleventy netlify-cli
|
2023-02-25 19:58:56 +01:00
|
|
|
- build: |
|
2023-02-25 20:06:00 +01:00
|
|
|
npx @11ty/eleventy --input=./www-lauka-net --output=public
|
2023-02-25 19:58:56 +01:00
|
|
|
- deploy: |
|
2023-02-26 10:20:01 +01:00
|
|
|
set +x && source ~/.buildsecrets && set -x
|
2023-02-26 10:24:15 +01:00
|
|
|
npx netlify deploy --site=$NETLIFY_SITE_ID --dir=public --prod
|