-
Notifications
You must be signed in to change notification settings - Fork 80
check for 404s and 500s on previews #601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✨ Coder.com for PR #601 deployed! It will be updated on every commit.
|
- name: Install node_modules | ||
run: yarn install | ||
- name: Check docs | ||
run: yarn ts-node ./product/coder.com/site/scripts/checkDocs.ts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO it's a little clearer to use yarn run ts-node
because people less familiar with Node might not be familiar with this behavior.
I'd also suggest putting this at the end of the build (after comment credentials) so that people can see the link to the preview. Otherwise, people won't be able to easily inspect the deployment (needed if you want to open the Vercel console and watch the function logs while you bring up the docs site)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
No description provided.