mirror of https://git.tuxpa.in/a/code-server.git
Add check docs (#4047)
This commit is contained in:
parent
e2a7ffbaf4
commit
6c6446fc97
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue