From e795a0922803e3dc37818afe1508c6e3927eee16 Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Mon, 27 Jan 2025 21:46:26 +0100 Subject: [PATCH] chore: add build.yml --- .build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..50c6a67 --- /dev/null +++ b/.build.yml @@ -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