_Pear
_Pear
Explore posts from servers
CDCloudflare Developers
Created by _Pear on 5/10/2024 in #pages-discussions
Does `wrangler pages deploy` pick up `wrangler.toml` config?
thanks!
3 replies
CDCloudflare Developers
Created by _Pear on 5/10/2024 in #pages-discussions
Does `wrangler pages deploy` pick up `wrangler.toml` config?
i think i see the issue but i would love some confirmation here if wrangler pages deploy does in fact pick up config from wrangler.toml.
3 replies
CDCloudflare Developers
Created by CaptainNemo on 4/17/2024 in #pages-help
Deploying Pages with D1 Binding via Wrangler.toml and GH Action
I don't think it picks up the wrangler.toml using wrangler pages deploy tho, as it does not support the config option. Going to ask about this in the discussion channel if you want to follow along.
10 replies
CDCloudflare Developers
Created by CaptainNemo on 4/17/2024 in #pages-help
Deploying Pages with D1 Binding via Wrangler.toml and GH Action
I set the following as action secrets:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
10 replies
CDCloudflare Developers
Created by horo on 4/17/2024 in #pages-help
Pages deployment is 500ing?
oh possibly, I'm not sure about that.
19 replies
CDCloudflare Developers
Created by horo on 4/17/2024 in #pages-help
Pages deployment is 500ing?
you can use the cli, wrangler pages deployment tail --help will get you started. or in the dashboard, on the deployment table select view details, then under the functions tab you can stream the logs for that deployment
19 replies
CDCloudflare Developers
Created by CaptainNemo on 4/17/2024 in #pages-help
Deploying Pages with D1 Binding via Wrangler.toml and GH Action
I personally skip the action and just run wrangler pages deploy in my GH action. The supplied action is a wrapper around wrangler anyway and it seems unreliable from browsing this server for a while. I can't tell if it's reading my wrangler.toml but worst case you can set the bindings in the dashboard.
10 replies