setup deployment thiniges

This commit is contained in:
Sakooooo 2024-11-15 15:52:55 +04:00
parent 1f0eab4c24
commit 88aaee0e63
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -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