File tree 2 files changed +47
-0
lines changed
2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+
3
+ # Aliases to reuse
4
+ _defaults : &defaults
5
+ docker :
6
+ # CircleCI maintains a library of pre-built images
7
+ # documented at https://circleci.com/docs/2.0/circleci-images/
8
+ - image : cimg/python:3.10.2
9
+ working_directory : ~/repo
10
+
11
+ jobs :
12
+ build_page :
13
+ << : *defaults
14
+ steps :
15
+ - checkout
16
+ - attach_workspace :
17
+ at : ~/
18
+ - run :
19
+ name : build docs
20
+ no_output_timeout : 25m
21
+ command : |
22
+ pip install -r requirements.txt
23
+ sphinx-build -b html -WT --keep-going spec build/draft -d doctrees
24
+ - store_artifacts :
25
+ path : build/draft
26
+
27
+ workflows :
28
+ version : 2
29
+ default :
30
+ jobs :
31
+ - build_page
Original file line number Diff line number Diff line change
1
+ on : [status]
2
+ jobs :
3
+ circleci_artifacts_redirector_job :
4
+ # Don't run Action on forks, and allow skipping CI
5
+ if : " github.repository == 'data-apis/dataframe-api'"
6
+ runs-on : ubuntu-latest
7
+ name : Run CircleCI artifacts redirector
8
+ steps :
9
+ - name : GitHub Action step
10
+ id : step1
11
+ uses : larsoner/circleci-artifacts-redirector-action@master
12
+ with :
13
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
14
+ artifact-path : 0/build/draft/index.html
15
+ circleci-jobs : build_page
16
+ job-title : Check the rendered docs here!
You can’t perform that action at this time.
0 commit comments