Back to Trigger

Deplopying Your Task

docs/snippets/deplopying-your-task.mdx

4.4.5873 B
Original Source

Deploying your task to Trigger.dev

For this guide, we'll manually deploy your task by running the CLI deploy command below. Other ways to deploy are listed in the next section.

<CodeGroup>
bash
npx trigger.dev@latest deploy
bash
pnpm dlx trigger.dev@latest deploy
bash
yarn dlx trigger.dev@latest deploy
</CodeGroup>

Other ways to deploy

<Tabs> <Tab title="GitHub Actions">

Use GitHub Actions to automatically deploy your tasks whenever new code is pushed and when the trigger directory has changes in it. Follow this guide to set up GitHub Actions.

</Tab> <Tab title="Vercel Integration">

We're working on adding an official Vercel integration which you can follow the progress of here.

</Tab> </Tabs>