File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
docs/docs/setup-scenarios Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,16 @@ jobs:
2020 steps :
2121 - name : Checkout
2222 uses : actions/checkout@v4
23+ with :
24+ fetch-depth : 0 # Important for Docusaurus version detection
2325
2426 - name : Set up Node.js
2527 uses : actions/setup-node@v4
2628 with :
27- node-version : 20.x # Docusaurus works well with Node 18/20
29+ node-version : 20.x
2830 cache : yarn
2931 cache-dependency-path : docs/yarn.lock
30-
32+
3133 - name : Install dependencies
3234 working-directory : docs
3335 run : yarn install --frozen-lockfile
@@ -36,13 +38,11 @@ jobs:
3638 working-directory : docs
3739 run : yarn build
3840
39- - name : Setup Pages
40- uses : actions/configure-pages@v3
41-
4241 - name : Upload artifact
4342 uses : actions/upload-pages-artifact@v3
4443 with :
45- path : docs/build
44+ path : docs/build # Ensure this matches your Docusaurus output dir
45+ retention-days : 1 # Reduces storage usage
4646
4747 - name : Deploy to GitHub Pages
4848 id : deployment
Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ import { Note } from '@site/src/components/Admonition';
1010
1111<Note >
1212 This scenario is an example for blocking malicious files. Other features can be included here by configuring the environment variables.
13- </Note >
13+ </Note >
You can’t perform that action at this time.
0 commit comments