Skip to content

Commit 39fc64b

Browse files
committed
Initial commit
1 parent 5cec260 commit 39fc64b

File tree

164 files changed

+7697
-409
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+7697
-409
lines changed

.github/workflows/deploy.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Deploy Cloudflare Workers
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
16+
- name: Setup pnpm
17+
uses: pnpm/action-setup@v4
18+
with:
19+
version: 8.x
20+
21+
- name: Setup Node.js
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: 20
25+
cache: "pnpm"
26+
27+
- name: Install dependencies
28+
run: pnpm install
29+
30+
- name: Build and Deploy
31+
run: |
32+
pnpm run deploy
33+
env:
34+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
35+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

.gitignore

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,48 @@
1-
# deps
2-
/node_modules
3-
41
# generated content
52
.source
63

74
# test & build
85
/coverage
96
/.next/
7+
/.open-next/
108
/out/
119
/build
1210
*.tsbuildinfo
1311

14-
# misc
15-
.DS_Store
16-
*.pem
17-
/.pnp
18-
.pnp.js
12+
# others
13+
.env*.local
14+
.vercel
15+
next-env.d.ts
16+
17+
# Logs
18+
logs
19+
*.log
1920
npm-debug.log*
2021
yarn-debug.log*
2122
yarn-error.log*
23+
pnpm-debug.log*
24+
lerna-debug.log*
2225

23-
# others
24-
.env*.local
25-
.vercel
26-
next-env.d.ts
26+
node_modules
27+
dist
28+
dist-ssr
29+
*.local
30+
31+
# Editor directories and files
32+
.vscode/*
33+
!.vscode/extensions.json
34+
.idea
35+
.DS_Store
36+
*.suo
37+
*.ntvs*
38+
*.njsproj
39+
*.sln
40+
*.sw?
41+
42+
# wrangler files
43+
.wrangler
44+
.dev.vars*
45+
.env.*
46+
47+
data/
48+
stats.html
92.8 KB
30.9 KB
48.6 KB
62.7 KB
168 KB
170 KB
159 KB
36.7 KB

0 commit comments

Comments
 (0)