mirror of https://github.com/tiangolo/fastapi.git
👷 Use `wrangler-action` v3 (#13415)
This commit is contained in:
parent
d974fbdda0
commit
26f27982ac
|
|
@ -62,10 +62,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
PROJECT_NAME: fastapitiangolo
|
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 ) }}
|
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 ) }}
|
||||||
# TODO: Use v3 when it's fixed, probably in v3.11
|
uses: cloudflare/wrangler-action@v3
|
||||||
# https://github.com/cloudflare/wrangler-action/issues/307
|
|
||||||
uses: cloudflare/wrangler-action@v3.14
|
|
||||||
# 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 }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue