Skip to content

Commit a99055a

Browse files
committed
💚 Deploy with an API key
1 parent 4882644 commit a99055a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎.github/workflows/nextjs.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Next.js CI/CD
33
on:
44
push:
55
branches: [main]
6+
workflow_dispatch:
67

78
jobs:
89
build:
@@ -35,5 +36,7 @@ jobs:
3536
- name: Install Wrangler
3637
run: pnpm install -g wrangler
3738

38-
- name: Build Next.js app
39+
- name: Deploy Next.js app
3940
run: pnpm run deploy
41+
env:
42+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

0 commit comments

Comments
 (0)