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
@@ -116,21 +116,21 @@ You can manually specify the branch using `--branch <branch-name>` in the deploy
116
116
Creating and deploying a preview branch manually is easy:
117
117
118
118
```bash
119
-
npx trigger.dev@v4-beta deploy --env preview
119
+
npx trigger.dev@latest deploy --env preview
120
120
```
121
121
122
122
This will create and deploy a preview branch, automatically detecting the git branch. If for some reason the auto-detection doesn't work it will let you know and tell you do this:
This section highlights some of the CLI commands and options that are useful when self-hosting. Please check the [CLI reference](/cli-introduction) for more in-depth documentation.
351
351
352
-
<Warning>
353
-
While v4 is in beta, always use `@v4-beta` instead of `@latest`. For example: `npx trigger.dev@v4-beta dev`
354
-
</Warning>
355
-
356
352
### Login
357
353
358
354
To avoid being redirected to [Trigger.dev Cloud](https://cloud.trigger.dev) when using the CLI, you need to specify the URL of your self-hosted instance with the `--api-url` or `-a` flag. For example:
359
355
360
356
```bash
361
-
npx trigger.dev@v4-beta login -a http://trigger.example.com
357
+
npx trigger.dev@latest login -a http://trigger.example.com
362
358
```
363
359
364
360
Once you've logged in, you shouldn't have to specify the URL again with other commands.
@@ -368,7 +364,7 @@ Once you've logged in, you shouldn't have to specify the URL again with other co
368
364
You can specify a profile when logging in. This allows you to easily use the CLI with multiple instances of Trigger.dev. For example:
369
365
370
366
```bash
371
-
npx trigger.dev@v4-beta login -a http://trigger.example.com \
367
+
npx trigger.dev@latest login -a http://trigger.example.com \
372
368
--profile self-hosted
373
369
```
374
370
@@ -377,37 +373,37 @@ Logging in with a new profile will also make it the new default profile.
377
373
To use a specific profile, you can use the `--profile` flag with other commands:
378
374
379
375
```bash
380
-
npx trigger.dev@v4-beta dev --profile self-hosted
376
+
npx trigger.dev@latest dev --profile self-hosted
381
377
```
382
378
383
379
To list all your profiles, use the `list-profiles` command:
0 commit comments