From 88aaee0e638a703f318045aa72be7015e2c8327c Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 15 Nov 2024 15:52:55 +0400 Subject: [PATCH] setup deployment thiniges --- .woodpecker.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 05ae643..c5ab590 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -5,5 +5,13 @@ when: steps: build: image: node - commands: - - echo hi + commands: + - npm install -g pnpm + - pnpm i --frozen-lockfile + - pnpm run build + deploy: + image: node + secrets: [cf_account_id, cf_api_token] + commands: + - npm i -g wrangler + - npx wrangler pages deploy dist --project-name sako-website