You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Remove hidden CLI flags from docs (--load, --push, --network)
- Clarify that v4 self-hosted builds are local by default
- Remove deprecated --self-hosted flag from examples
- Reference GitHub Actions guide for CI setup
- Simplify GitHub Actions self-hosting example
Fixes#2835
Copy file name to clipboardExpand all lines: docs/github-actions.mdx
+4-13Lines changed: 4 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,16 +134,11 @@ You should use the version you run locally during dev and manual deploy. The cur
134
134
135
135
## Self-hosting
136
136
137
-
When self-hosting, you will have to take a few additional steps:
137
+
When self-hosting, you need to:
138
138
139
-
- Specify the `TRIGGER_API_URL` environment variable. You can add it to the GitHub secrets the same way as the access token. This should point at your webapp domain, for example: `https://trigger.example.com`
140
-
- Setup docker as you will need to build and push the image to your registry. On [Trigger.dev Cloud](https://cloud.trigger.dev) this is all done remotely.
139
+
- Set up Docker Buildx in your CI environment for building images locally.
141
140
- Add your registry credentials to the GitHub secrets.
142
-
- Use the `--self-hosted` and `--push` flags when deploying.
143
-
144
-
<Tip>If you're self-hosting v4, the `--self-hosted` and `--push` flags are **NOT** needed.</Tip>
145
-
146
-
Other than that, your GitHub action file will look very similar to the one above:
141
+
- Specify the `TRIGGER_API_URL` environment variable pointing to your webapp domain, for example: `https://trigger.example.com`
Use the native build server for building the image. This uploads your project files and builds remotely.
108
-
</ParamField>
109
-
110
-
<ParamFieldbody="Detach"type="--detach">
111
-
Return immediately after the deployment is queued, without waiting for the build to complete. Implies `--native-build-server`.
112
-
</ParamField>
113
-
114
-
## Examples
115
-
116
-
### Self-hosted deployment
117
-
118
-
For self-hosted deployments, set your `TRIGGER_ACCESS_TOKEN` and use the `--api-url` option to point to your self-hosted instance:
88
+
When [self-hosting](/open-source-self-hosting), builds are performed locally by default. Set the `TRIGGER_ACCESS_TOKEN` environment variable and point to your self-hosted instance using `TRIGGER_API_URL` or `--api-url`:
0 commit comments