setup deployment thiniges
This commit is contained in:
parent
1f0eab4c24
commit
88aaee0e63
1 changed files with 10 additions and 2 deletions
|
@ -5,5 +5,13 @@ when:
|
||||||
steps:
|
steps:
|
||||||
build:
|
build:
|
||||||
image: node
|
image: node
|
||||||
commands:
|
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