File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
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
You can’t perform that action at this time.
0 commit comments