Skip to content

Commit ae29f76

Browse files
committed
Add wrangler.toml to root of build folder
1 parent 668836f commit ae29f76

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/workflow.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,18 @@ jobs:
4040
- name: Install Wrangler
4141
run: npm install -g wrangler
4242

43-
- name: Verify Wrangler Config
44-
run: cat wrangler.toml
45-
4643
- name: Install & Build
4744
run: |
4845
npm install
4946
npm run build
5047
working-directory: .
5148

49+
- name: Verify Wrangler Config
50+
run: cat wrangler.toml
51+
52+
- name: Add Wrangler Config to Build
53+
run: cp wrangler.toml ./build
54+
5255
- name: Deploy to Cloudflare Pages
5356
uses: cloudflare/wrangler-action@v3
5457
with:

0 commit comments

Comments
 (0)