update
All checks were successful
Build and deploy / lint (push) Successful in 1m5s

This commit is contained in:
Iain Learmonth 2025-06-20 14:33:11 +01:00
parent 293bc62673
commit 7ac34257d9

View file

@ -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: [[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) * `NETLIFY_AUTH_TOKEN` (secret, so goes into **Actions -> Secrets**)
* `NETLIFY_SITE_ID` (pretty sure isn't secret) * `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. 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.