Skip to content

Commit 988f14b

Browse files
committed
Various docs fixes
1 parent fbcb7ad commit 988f14b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/deployment/atomic-deployment.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Atomic deploys achieve synchronization by deploying your tasks to Trigger.dev wi
1414
2. **Capture the Deployment Version**: The CLI outputs the version of the deployed tasks, which you’ll use in the next step.
1515
3. **Deploy Your Application**: Deploy your application (e.g., to Vercel), setting an environment variable like `TRIGGER_VERSION` to the captured task version.
1616

17-
## Vercel & Github Actions
17+
## Vercel CLI & GitHub Actions
1818

19-
Here's a sample workflow that demonstrates performing atomic deploys with GitHub Actions, Trigger.dev, and Vercel:
19+
If you deploy to Vercel via their CLI, you can use this sample workflow that demonstrates performing atomic deploys with GitHub Actions, Trigger.dev, and Vercel:
2020

2121
```yml
2222
name: Deploy to Trigger.dev (prod)
@@ -46,7 +46,7 @@ jobs:
4646
env:
4747
TRIGGER_ACCESS_TOKEN: ${{ secrets.TRIGGER_ACCESS_TOKEN }}
4848
run: |
49-
npx trigger.devlatest deploy --skip-promotion
49+
npx trigger.dev@latest deploy --skip-promotion
5050
5151
- name: Deploy to Vercel
5252
run: npx vercel --yes --prod -e TRIGGER_VERSION=$TRIGGER_VERSION --token $VERCEL_TOKEN
@@ -77,9 +77,9 @@ For this workflow to work, you need to set up the following secrets in your GitH
7777
- `TRIGGER_ACCESS_TOKEN`: Your Trigger.dev personal access token. View the instructions [here](/github-actions) to learn more.
7878
- `VERCEL_TOKEN`: Your Vercel personal access token. You can find this in your Vercel account settings.
7979

80-
## w/Vercel Github integration
80+
## Vercel GitHub integration
8181

82-
If you're are using Vercel, chances are you are using their GitHub integration and deploying your application directly from pushes to Github. This section covers how to achieve atomic deploys with Trigger.dev in this setup.
82+
If you're are using Vercel, chances are you are using their GitHub integration and deploying your application directly from pushes to GitHub. This section covers how to achieve atomic deploys with Trigger.dev in this setup.
8383

8484
### Turn off automatic promotion
8585

@@ -166,6 +166,6 @@ Checkout our [example repo](https://github.com/ericallam/vercel-atomic-deploys)
166166
<Note>
167167
We are using the `ericallam/vercel-wait` action above as a fork of the [official
168168
tj-actions/vercel-wait](https://github.com/tj-actions/vercel-wait) action because there is a bug
169-
in the official action that exists early if the deployment isn't found in the first check. I've
169+
in the official action that exits early if the deployment isn't found in the first check. I've
170170
opened a PR for this issue [here](https://github.com/tj-actions/vercel-wait/pull/106).
171171
</Note>

0 commit comments

Comments
 (0)