Skip to content

Latest commit

 

History

History
62 lines (41 loc) · 1.39 KB

File metadata and controls

62 lines (41 loc) · 1.39 KB
title CLI preview archive command
sidebarTitle preview archive
description The `trigger.dev preview archive` command can be used to archive a preview branch.

import UpgradeToV4Note from "/snippets/upgrade-to-v4-note.mdx"; import ProjectPathArg from "/snippets/cli-args-project-path.mdx"; import CommonOptions from "/snippets/cli-options-common.mdx"; import ProjectRefOption from "/snippets/cli-options-project-ref.mdx"; import EnvFileOption from "/snippets/cli-options-env-file.mdx"; import ConfigFileOption from "/snippets/cli-options-config-file.mdx"; import SkipUpdateCheckOption from "/snippets/cli-options-skip-update-check.mdx"; import BranchOption from "/snippets/cli-options-branch.mdx";

Run the command like this:

npx trigger.dev@v4-beta preview archive
pnpm dlx trigger.dev@v4-beta preview archive
yarn dlx trigger.dev@v4-beta preview archive

It will archive the preview branch, automatically detecting the branch name from git. You can manually specify the branch using the --branch option.

Arguments

npx trigger.dev@v4-beta preview archive [path]

Options

Common options

These options are available on most commands.