-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 BUG: ERROR: Must specify a directory. #3706
Comments
Are you trying to deploy to Cloudflare Pages, or Cloudflare Workers? For Pages, For Workers, which it appears you're trying to do as per your example at https://github.com/globe-and-citizen/Sample-Node-Server, you want to use simply |
Thanks!! Worked! |
Will pages support a toml file in future? I'm using Nx to deploy multiple projects, and I'd like to have the specific project configurations within the project itself while having the deployment script at the root of the project (top-level setup regarding branches / environments). |
I am getting the same issue when i am trying to deploy pages. How do i specify a directory?
` Run cloudflare/wrangler-action@v3.4.1 ✘ [ERROR] Must specify a directory. If you think this is a bug then please create an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose |
Simply fixed it by updating my command |
1 similar comment
Simply fixed it by updating my command |
The CLI from my local machine supports the toml file: wrangler pages deploy wrangler.toml pages_build_output_dir = "./public" But the GitHub action doesn't
Seems weird cause it's the same command? |
Which Cloudflare product(s) does this pertain to?
Workers for Platforms, Workers Runtime, Wrangler core
What version(s) of the tool(s) are you using?
Latest
What version of Node are you using?
18.16.1
What operating system are you using?
Mac
Describe the Bug
Guys, I'm getting this error (Must specify a directory) when running a GitHub Action in order to Deploy a repository on CloudFlare Worker.
In the documentation, I didn't find anything regarding specifying a directory.
Could someone tell me where and how I report this?
This is my
wrangler.toml
:This is my
.github/workflows/deploy.yml
:Please provide a link to a minimal reproduction
https://github.com/globe-and-citizen/sparkling-paper-3924
Please provide any relevant error logs
The text was updated successfully, but these errors were encountered: