Skip to content

Commit b47d8ce

Browse files
committed
Fix: correct path to build
1 parent 7558c8e commit b47d8ce

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed
Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
name: CircleCI artifacts redirector
22
on: [status]
33

4-
# Restrict the permissions granted to the use of secrets.GITHUB_TOKEN in this
5-
# github actions workflow:
6-
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication
7-
permissions:
8-
statuses: write
9-
104
jobs:
115
circleci_artifacts_redirector_job:
126
runs-on: ubuntu-latest
137
# For testing this action on a fork, remove the "github.repository =="" condition.
14-
if: "github.repository == 'pyOpenSci/python-package-guide' && github.event.context == 'ci/circleci: build'"
8+
if: "github.repository == 'pyOpenSci/python-package-guide' && github.event.context == 'ci/circleci: build_book'"
159
permissions:
1610
statuses: write
1711
name: Run CircleCI artifacts redirector
@@ -22,6 +16,6 @@ jobs:
2216
with:
2317
repo-token: ${{ secrets.GITHUB_TOKEN }}
2418
api-token: ${{ secrets.CIRCLECI_TOKEN }}
25-
artifact-path: 0/_site/index.html
19+
artifact-path: 0/html/index.html
2620
circleci-jobs: build
27-
job-title: Check the rendered website build here!
21+
job-title: View rendered book here!

0 commit comments

Comments
 (0)