diff --git a/docs/github-integration.mdx b/docs/github-integration.mdx index ffbc91f4321..8b23c8f75a6 100644 --- a/docs/github-integration.mdx +++ b/docs/github-integration.mdx @@ -34,7 +34,7 @@ This eliminates the need to manually run the `trigger.dev deploy` command or set Configure how your project is built: - - **Trigger config file**: Path to your `trigger.config.ts` file. By default, we look for it in the root of your repository. The path should be relative to the root of your repository and contain the config file name, e.g., `apps/tasks/trigger.config.ts`. + - **Trigger config file**: Auto-detected by default — we find your `trigger.config.ts` anywhere in your repository. Set a path relative to the root of your repository to override it, e.g., `apps/tasks/trigger.config.ts`. If your repository contains more than one config file, set the path of the one to use. - **Install command**: Auto-detected by default, but you can override it if necessary. The command will be run from the root of your repository. - **Pre-build command**: Run any commands before building and deploying your project, e.g., `pnpm run prisma:generate`. The command will be run from the root of your repository. diff --git a/docs/snippets/cli-commands-deploy.mdx b/docs/snippets/cli-commands-deploy.mdx index ce8125836aa..1e808e35127 100644 --- a/docs/snippets/cli-commands-deploy.mdx +++ b/docs/snippets/cli-commands-deploy.mdx @@ -98,10 +98,34 @@ npx trigger.dev@latest deploy [path] briefly before it notices. Requires `--external-id`. + + Use the native build server to install, bundle and build your project. + + + + Install and bundle on your machine, then build the image on the build server from the uploaded + bundle. Requires `--native-build`. Use it if you prefer dependencies to be installed on your + machine rather than on the build server. + + + + Exit once the build is queued instead of streaming the build logs. The deployment continues on + the build server. Requires `--native-build`. + + + + Build the image with Depot, the default build provider. + + Force building the deployment image locally using your local Docker. This is automatic when self-hosting. + + How build logs are shown: `compact` (default, a single updating line) or `full` (every log line). + CI and piped output always use `full`. + + ### Common options These options are available on most commands. diff --git a/docs/troubleshooting.mdx b/docs/troubleshooting.mdx index 76fa76b0bee..04ef4275e45 100644 --- a/docs/troubleshooting.mdx +++ b/docs/troubleshooting.mdx @@ -87,7 +87,7 @@ Usually there will be some useful guidance below this message. If you can't figu ### `resource_exhausted` -If you see a `resource_exhausted` error during deploy, the build may have hit resource limits on our build infrastructure. Try our [native builder](https://trigger.dev/changelog/deployments-with-native-builds). +If you see a `resource_exhausted` error during deploy, the build may have hit resource limits on our build infrastructure. Try our [native builder](https://trigger.dev/changelog/deployments-with-native-builds) by deploying with the `--native-build` flag. ### `No loader is configured for ".node" files`