Skip to content

Commit 5677bda

Browse files
committed
Try this
1 parent 65a3cf5 commit 5677bda

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@ jobs:
182182
- uses: actions/download-artifact@v4
183183
name: deploy-prep-dist
184184
- name: Publish ${{ matrix.app.name }}
185+
working-directory: ./deploy-prep-dist/${{ matrix.app.path }}
185186
run: |
186-
npx wrangler pages publish \
187-
./deploy-prep-dist/${{ matrix.app.path }} \
187+
npx wrangler pages publish ./ \
188188
--project-name=${{ matrix.app.cloudflareName }} \
189189
--branch=${{ github.event.workflow_run.head_branch }} \
190190
--commit-hash=${{ github.event.workflow_run.head_commit }}

.github/workflows/deploy-preview.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ jobs:
113113
- uses: actions/download-artifact@v4
114114
name: deploy-prep-dist
115115
- name: Preview ${{ matrix.app.name }}
116+
working-directory: ./deploy-prep-dist/${{ matrix.app.path }}
116117
run: |
117-
npx wrangler pages deploy \
118-
./deploy-prep-dist/${{ matrix.app.path }} \
118+
npx wrangler pages deploy ./ \
119119
--project-name=${{ matrix.app.cloudflareName }} \
120120
--branch=${{ github.event.workflow_run.head_branch }} \
121121
--commit-hash=${{ github.event.workflow_run.head_commit }}

0 commit comments

Comments
 (0)