Closed ylemkimon closed 6 years ago
Being able to easily check documentation changes before merging would be awesome.
I have it deploying to https://katex.netlify.com/katex/. I guess I have to set the CONTEXT
variable to get it to deploy to https://katex.netlify.com
.
The CONTEXT
variable is supposed to be set automatically so I'm not sure why we're not picking it up. I'm going to try the BASE_URL
environment variable instead.
@kevinbarabash Please check the publish directory is website/build/KaTeX
.
I set it to website/build
... trying website/build/KaTeX
now.
@ylemkimon that did the trick, thanks. https://katex.netlify.com
I've also turned on branch deploys so this should trigger a deploy next time someone creates a PR or updates one. 🤞
I've updated one of our open PRs. There's now a netlify checking that shows up. Clicking on the "details" link goes to the preview site. In this case it's https://deploy-preview-1485--katex.netlify.com.
netlify.com is a CI for websites, which provides a deploy preview:
Websites using docusarus can be deployed using following configuration:
npm run build; cd website; npm install; npm run build;
website/build/KaTeX
CC @kevinbarabash