website/.woodpecker.yml

18 lines
348 B
YAML
Raw Normal View History

2024-11-15 15:25:56 +04:00
when:
- event: push
branch: master
2024-11-15 11:22:40 +04:00
steps:
build:
image: node
2024-11-15 15:52:55 +04:00
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