diff --git a/.github/workflows/artifact_redirect.yml b/.github/workflows/artifact_redirect.yml index 37d228f7..49b2ceaa 100644 --- a/.github/workflows/artifact_redirect.yml +++ b/.github/workflows/artifact_redirect.yml @@ -1,17 +1,11 @@ name: CircleCI artifacts redirector on: [status] -# Restrict the permissions granted to the use of secrets.GITHUB_TOKEN in this -# github actions workflow: -# https://docs.github.com/en/actions/security-guides/automatic-token-authentication -permissions: - statuses: write - jobs: circleci_artifacts_redirector_job: runs-on: ubuntu-latest # For testing this action on a fork, remove the "github.repository =="" condition. - if: "github.repository == 'pyOpenSci/python-package-guide' && github.event.context == 'ci/circleci: build'" + if: "github.repository == 'pyOpenSci/python-package-guide' && github.event.context == 'ci/circleci: build_book'" permissions: statuses: write name: Run CircleCI artifacts redirector @@ -22,6 +16,6 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} api-token: ${{ secrets.CIRCLECI_TOKEN }} - artifact-path: 0/_site/index.html + artifact-path: 0/html/index.html circleci-jobs: build - job-title: Check the rendered website build here! + job-title: View rendered book here!