Skip to content

Commit

Permalink
Add check docs (coder#4047)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoQuaresma authored Aug 26, 2021
1 parent e2a7ffb commit 6c6446f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/docs-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ jobs:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
CODE_SERVER_DOCS_MAIN_BRANCH: ${{ github.event.pull_request.head.sha }}

- name: Install node_modules
run: yarn install

- name: Check docs
run: yarn ts-node ./product/coder.com/site/scripts/checkDocs.ts
env:
BASE_URL: ${{ steps.preview.outputs.url }}

- name: Update Deployment
# If we don't specify always, it won't run this check if failed.
# This means the deployment would be stuck pending.
Expand Down

0 comments on commit 6c6446f

Please sign in to comment.