diff --git a/content/Deploy Docusaurus to Netlify from CI.md b/content/Deploy Docusaurus to Netlify from CI.md index 03a2b34..58913f6 100644 --- a/content/Deploy Docusaurus to Netlify from CI.md +++ b/content/Deploy Docusaurus to Netlify from CI.md @@ -1,6 +1,6 @@ -[[Docusaurus]] sites can be deployed to [[Netlify]] from the CI of our [[Forgejo]] instance. It's necessary to set the two variables: -* `NETLIFY_AUTH_TOKEN` (secret) -* `NETLIFY_SITE_ID` (pretty sure isn't secret) +[[Docusaurus]] sites can be deployed to [[Netlify]] from the CI of our [[Forgejo]] instance. It's necessary to set the two variables in the settings for the repository: +* `NETLIFY_AUTH_TOKEN` (secret, so goes into **Actions -> Secrets**) +* `NETLIFY_SITE_ID` (pretty sure isn't secret, so goes into **Actions->Variables**) Running `netlify build` without being logged in seems to generate errors. Rather just use `npm run build` to generate the build in the `build/` directory.