Skip to content

Commit 2b6fa24

Browse files
Make a change (#1734)
* Make a change * updates * test
1 parent 9b701cb commit 2b6fa24

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ jobs:
160160
##############################################################
161161
##############################################################
162162

163+
# NOTE: this is basically the same code as in DeployPreview
163164
DeployProduction:
164165
name: "Deploy: Production ${{ matrix.app.name }}"
165166
if: github.ref == 'refs/heads/main'
@@ -184,7 +185,7 @@ jobs:
184185
- name: Publish ${{ matrix.app.name }}
185186
working-directory: ./deploy-prep-dist/${{ matrix.app.path }}
186187
run: |
187-
npx wrangler pages publish ./ \
188+
npx wrangler pages deploy ./ \
188189
--project-name=${{ matrix.app.cloudflareName }} \
189190
--branch=${{ github.event.workflow_run.head_branch }} \
190191
--commit-hash=${{ github.event.workflow_run.head_sha }}

apps/tutorial/public/functions/_middleware.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async function errorIfNotFound(context) {
3737
return defaultResponse;
3838
}
3939

40-
console.log(url, status, headers, headers.get('content-type'));
40+
console.log(url, status, headers.get('content-type'), headers);
4141
/**
4242
* Cloudflare (because of how single-page-apps work)
4343
* returns our index.html as a 200 whenever any URL is requested.

0 commit comments

Comments
 (0)