Add wrangler deploy

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2024-07-15 10:19:36 +05:30
parent 1910473519
commit 85d28688d3
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,9 @@
when:
- event: push
steps:
- name: Deploy
image: docker.io/library/node:20-alpine
commands:
- pnpx wrangler pages deploy .
secrets: [ cloudflare_api_token, cloudflare_account_id ]

2
wrangler.toml Normal file
View file

@ -0,0 +1,2 @@
name = "littlelink"
pages_build_output_dir = "."