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