17 lines
336 B
YAML
17 lines
336 B
YAML
when:
|
|
- event: push
|
|
branch: master
|
|
|
|
steps:
|
|
build:
|
|
image: node
|
|
commands:
|
|
- npm install -g pnpm
|
|
- pnpm i --frozen-lockfile
|
|
- pnpm run build
|
|
deploy:
|
|
image: node
|
|
secrets: [cloudflare_account_id, cloudflare_api_token]
|
|
commands:
|
|
- pnpm wrangler pages deploy dist --project-name sakosite
|
|
|