File tree 2 files changed +9
-5
lines changed 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
1
version : 2.1
2
2
jobs :
3
- build_book :
3
+ build-book :
4
4
docker :
5
5
- image : cimg/python:3.9
6
6
steps :
22
22
# Tell CircleCI to use this workflow when it builds the site
23
23
workflows :
24
24
version : 2
25
- build_book :
25
+ build-book :
26
26
jobs :
27
- - build_book
27
+ - build-book
Original file line number Diff line number Diff line change 1
1
name : CircleCI artifacts redirector
2
2
on : [status]
3
3
4
+ concurrency :
5
+ group : docs-preview-${{ github.ref }}
6
+ cancel-in-progress : true
7
+
4
8
jobs :
5
9
circleci_artifacts_redirector_job :
6
10
runs-on : ubuntu-latest
7
11
# For testing this action on a fork, remove the "github.repository =="" condition.
8
- if : " github.repository == 'pyOpenSci/python-package-guide' && github. event.context == 'ci/circleci: build_book '"
12
+ if : github.event.context == 'ci/circleci: build-book '"
9
13
permissions :
10
14
statuses : write
11
15
name : Run CircleCI artifacts redirector
17
21
repo-token : ${{ secrets.GITHUB_TOKEN }}
18
22
api-token : ${{ secrets.CIRCLECI_TOKEN }}
19
23
artifact-path : 0/html/index.html
20
- circleci-jobs : build
24
+ circleci-jobs : build-book
21
25
job-title : View rendered book here!
You can’t perform that action at this time.
0 commit comments