]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
👷 Update GitHub Action to deploy docs previews to handle missing deploy comments...
authorSebastián Ramírez <tiangolo@gmail.com>
Thu, 24 Oct 2024 12:38:34 +0000 (14:38 +0200)
committerGitHub <noreply@github.com>
Thu, 24 Oct 2024 12:38:34 +0000 (12:38 +0000)
.github/workflows/deploy-docs.yml

index 2fd46df6be7e1bc6bd081e4860f6083aac9f2468..39ea7de529174968ae11b673cb54ad31375e89d9 100644 (file)
@@ -62,7 +62,10 @@ jobs:
         env:
           PROJECT_NAME: fastapitiangolo
           BRANCH: ${{ ( github.event.workflow_run.head_repository.full_name == github.repository && github.event.workflow_run.head_branch == 'master' && 'main' ) || ( github.event.workflow_run.head_sha ) }}
-        uses: cloudflare/wrangler-action@v3
+        # TODO: Use v3 when it's fixed, probably in v3.11
+        # https://github.com/cloudflare/wrangler-action/issues/307
+        uses: cloudflare/wrangler-action@v3.9
+        # uses: cloudflare/wrangler-action@v3
         with:
           apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
           accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}