File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed
Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 66 - " **/*.d2"
77 - " site/**"
88 - " ui/**"
9+ - " .github/workflows/docs.yaml"
910 push :
1011 branches :
1112 - main
@@ -160,9 +161,33 @@ jobs:
160161 name : visualizer
161162 path : site/static/visualizer
162163
164+ - name : Find leios design build artifact
165+ id : leios-design-workflow
166+ uses : actions/github-script@v7
167+ with :
168+ script : |
169+ let res = await github.rest.actions.listWorkflowRuns({
170+ owner: context.repo.owner,
171+ repo: context.repo.repo,
172+ workflow_id: 'leios-design.yaml',
173+ branch: 'main',
174+ status: 'success'
175+ });
176+ return res.data.workflow_runs[0].id;
177+
178+ - name : 📥 Download built leios design
179+ uses : actions/download-artifact@v4
180+ with :
181+ github-token : ${{ secrets.GITHUB_TOKEN || github.token }}
182+ run-id : ${{steps.leios-design-workflow.outputs.result}}
183+ pattern : leios-design-pdf*
184+ merge-multiple : true
185+ path : site/static
186+
163187 - name : 🏗️ Build Docusaurus site
164188 working-directory : site
165189 run : |
190+ find static
166191 npm run build
167192
168193 - name : Verify Docusaurus build
Original file line number Diff line number Diff line change @@ -21,14 +21,19 @@ const sidebars: SidebarsConfig = {
2121 "development/throughput-simulation" ,
2222 "development/simulation-demonstration" ,
2323 "development/cost-estimator" ,
24- "development/monthly-reviews" ,
2524 {
2625 type : "link" ,
2726 href : "https://leios.cardano-scaling.org/visualizer" ,
2827 label : "Visualizer" ,
2928 } ,
3029 ] ,
3130 } ,
31+ "development/monthly-reviews" ,
32+ {
33+ type : "link" ,
34+ href : "https://leios.cardano-scaling.org/leios-design.pdf" ,
35+ label : "Technical Design" ,
36+ } ,
3237 ] ,
3338} ;
3439
You can’t perform that action at this time.
0 commit comments