Skip to content

Commit 6c6446f

Browse files
Add check docs (#4047)
1 parent e2a7ffb commit 6c6446f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/docs-preview.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ jobs:
6161
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
6262
CODE_SERVER_DOCS_MAIN_BRANCH: ${{ github.event.pull_request.head.sha }}
6363

64+
- name: Install node_modules
65+
run: yarn install
66+
67+
- name: Check docs
68+
run: yarn ts-node ./product/coder.com/site/scripts/checkDocs.ts
69+
env:
70+
BASE_URL: ${{ steps.preview.outputs.url }}
71+
6472
- name: Update Deployment
6573
# If we don't specify always, it won't run this check if failed.
6674
# This means the deployment would be stuck pending.

0 commit comments

Comments
 (0)