From 7ac34257d9ca3cbc1aa260c059fcecb785c445ef Mon Sep 17 00:00:00 2001 From: irl Date: Fri, 20 Jun 2025 14:33:11 +0100 Subject: [PATCH] update --- content/Deploy Docusaurus to Netlify from CI.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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.