website/.woodpecker.yml

19 lines
375 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
2024-11-15 17:09:56 +04:00
secrets: [cloudflare_account_id, cloudflare_api_token]
2024-11-15 15:52:55 +04:00
commands:
2024-11-15 20:11:17 +04:00
- npm i -g wrangler
- npx wrangler pages deploy dist --project-name sakosite --branch main
2024-11-15 15:58:56 +04:00