Skip to content

Is it possible to specify a custom wrangler.toml when deploying? #335

Closed Answered by jahands
a4amaan asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! This is possible using a custom command:

- name: Deploy
  uses: cloudflare/wrangler-action@v3
  with:
    command: deploy -c ./wrangler.toml

Here's a full example of what I tested with:
https://github.com/jahands/wrangler-action-example/blob/1026fa8ca3b02af178f22b585af502e5dda61533/.github/workflows/deploy.yml#L27

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jahands
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants