File tree Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2.1
2+
3+ jobs :
4+
5+ build-docs :
6+ docker :
7+ - image : cimg/python:3.12
8+
9+ steps :
10+ - attach_workspace :
11+ at : ~/
12+
13+ - checkout
14+
15+ - run :
16+ name : Install CI dependencies
17+ command : python -m pip install -r requirements.txt
18+
19+ - restore_cache :
20+ keys :
21+ - jupyter_ch
22+
23+ - run :
24+ name : Build HTML rendering of notebooks
25+ no_output_timeout : 30m
26+ command : make SPHINXOPTS="-nWT --keep-going" html
27+
28+ - save_cache :
29+ key : jupyter_ch
30+ paths :
31+ - _build/.jupyter_cache
32+
33+ - store_artifacts :
34+ path : _build/html
35+
36+ - persist_to_workspace :
37+ root : _build
38+ paths :
39+ - html
40+
41+ workflows :
42+ version : 2
43+ default :
44+ jobs :
45+ - build-docs
Original file line number Diff line number Diff line change 1+ name : Run CircleCI asrtifacts redirector for rendered HTML
2+ on : [status]
3+ jobs :
4+ circleci_artifacts_redirector_job :
5+ runs-on : ubuntu-latest
6+ name : Run CircleCI artifacts redirector
7+ steps :
8+ - name : GitHub Action step
9+ uses : scientific-python/circleci-artifacts-redirector-action@4e13a10d89177f4bfc8007a7064bdbeda848d8d1 # v1.0.0
10+ with :
11+ repo-token : ${{ secrets.GITHUB_TOKEN }}
12+ api-token : ${{ secrets.CIRCLE_TOKEN }}
13+ artifact-path : 0/_build/html/index.html
14+ circleci-jobs : build-docs
You can’t perform that action at this time.
0 commit comments