Skip to content

Commit

Permalink
Fix: correct path to build
Browse files Browse the repository at this point in the history
  • Loading branch information
lwasser committed Jan 8, 2024
1 parent 7558c8e commit b47d8ce
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/artifact_redirect.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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!

0 comments on commit b47d8ce

Please sign in to comment.