Archived
1
0

Add check docs (#4047)

This commit is contained in:
Bruno Quaresma 2021-08-26 16:24:43 -03:00 committed by GitHub
parent e2a7ffbaf4
commit 6c6446fc97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,6 +61,14 @@ jobs:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
CODE_SERVER_DOCS_MAIN_BRANCH: ${{ github.event.pull_request.head.sha }} 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 - name: Update Deployment
# If we don't specify always, it won't run this check if failed. # If we don't specify always, it won't run this check if failed.
# This means the deployment would be stuck pending. # This means the deployment would be stuck pending.