website/.woodpecker.yml

18 lines
350 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 17:21:05 +04:00
- pnpm wrangler pages deploy dist --project-name sakosite --branch main
2024-11-15 15:58:56 +04:00