Help with the API regarding deploys

Hey!

So quick question about the API: I’m attempting to deploy a site which requires a command to be run in order to be built. I uploaded the zip file and netlify unpacks it correctly. The zip file contains a netlify.toml file where the build command and the deploy directory is stated. What command and args should I give the API in order to build with those arguments?

The TOML is:

[build]
  command = "yarn run generate"
  publish = "dist"

Thanks!

While this is a great question it is also not possible.

For the manual deployment method no build command is run. The uploaded files are deployed as-is.

For a build process/command to be run, our continuous deployment is required.

1 Like