fix(ci): add workingDirectory and debug step for wrangler config
Some checks failed
Deploy to Cloudflare Pages / deploy (push) Failing after 15s
Some checks failed
Deploy to Cloudflare Pages / deploy (push) Failing after 15s
This commit is contained in:
@@ -25,9 +25,13 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: bun run build
|
run: bun run build
|
||||||
|
|
||||||
|
- name: Debug working directory
|
||||||
|
run: ls -la && cat wrangler.json
|
||||||
|
|
||||||
- name: Deploy to Cloudflare Pages
|
- name: Deploy to Cloudflare Pages
|
||||||
uses: cloudflare/wrangler-action@v3
|
uses: cloudflare/wrangler-action@v3
|
||||||
with:
|
with:
|
||||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||||
command: pages deploy --config wrangler.json
|
workingDirectory: "."
|
||||||
|
command: pages deploy
|
||||||
|
|||||||
Reference in New Issue
Block a user