From b4d8b1be3f1eb2d1eea4bd9585affbd437986de8 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Thu, 6 Feb 2025 12:12:22 +0200 Subject: [PATCH] Preserve Wrangler logs during docs deployment CI runs (#24371) Adds a log collection step to debug errors like https://github.com/zed-industries/zed/actions/runs/13175284280/job/36773129216#step:8:29 During testing though, the CI had passed, so 500 seems to be unrelated to Zed changes: https://github.com/zed-industries/zed/actions/runs/13175800537/job/36774702686 Release Notes: - N/A --- .github/workflows/deploy_cloudflare.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/deploy_cloudflare.yml b/.github/workflows/deploy_cloudflare.yml index 284c10915eb57a..b48b4c9a7af01e 100644 --- a/.github/workflows/deploy_cloudflare.yml +++ b/.github/workflows/deploy_cloudflare.yml @@ -63,3 +63,10 @@ jobs: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} command: deploy .cloudflare/docs-proxy/src/worker.js + + - name: Preserve Wrangler logs + uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4 + if: always() + with: + name: wrangler_logs + path: /home/runner/.config/.wrangler/logs/