chore: add build.yml

This commit is contained in:
Ayo Ayco 2025-01-27 21:46:26 +01:00
parent 63fa33db0d
commit e795a09228

25
.build.yml Normal file
View file

@ -0,0 +1,25 @@
image: alpine/edge
packages:
- nodejs
- npm
- pnpm
secrets:
- 291f0e35-9b8d-43ff-844c-77c5f29c1876
environment:
NETLIFY_SITE_ID: d48d0f43-25b7-4d03-bbd2-b19ed09ea063
tasks:
- install-deps: |
cd guides
pnpm i
- build: |
cd guides
pnpm run build
- deploy: |
cd guides
{
set +x
. ~/.buildsecrets
set -x
}
export NETLIFY_AUTH_TOKEN
pnpm run deploy