We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 285b94d commit e3298e3Copy full SHA for e3298e3
.github/workflows/ci.yml
@@ -102,7 +102,8 @@ jobs:
102
if: ${{ github.ref == 'refs/heads/main' }}
103
run: npx vercel deploy packages/docs/build -t ${{ secrets.VERCEL_TOKEN }} --name typescript --scope temporal --prod --yes
104
- name: Deploy draft docs
105
- if: ${{ github.ref != 'refs/heads/main' }}
+ # Don't run on forks, since secrets won't be available, and command will fail
106
+ if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.ref != 'refs/heads/main' }}
107
run: npx vercel deploy packages/docs/build -t ${{ secrets.VERCEL_TOKEN }} --name typescript --scope temporal --yes
108
109
# Run TS linting and ts-prune to find unused code
0 commit comments