setup deployment thiniges
This commit is contained in:
parent
1f0eab4c24
commit
88aaee0e63
1 changed files with 10 additions and 2 deletions
|
@ -6,4 +6,12 @@ steps:
|
|||
build:
|
||||
image: node
|
||||
commands:
|
||||
- echo hi
|
||||
- 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
|
||||
|
|
Loading…
Reference in a new issue