Redirect circleci artifacts #382084
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Redirect circleci artifacts | |
| on: [status] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: {} | |
| jobs: | |
| circleci_artifacts_redirector_job: | |
| runs-on: ubuntu-22.04 | |
| environment: | |
| name: circleci-redirector | |
| deployment: false | |
| if: > | |
| github.repository == 'scipy/scipy' | |
| && github.event.context == 'ci/circleci: build_docs' | |
| name: Run CircleCI artifacts redirector | |
| permissions: | |
| statuses: write # needed to communicate status | |
| steps: | |
| - name: GitHub Action step | |
| uses: scientific-python/circleci-artifacts-redirector-action@5d358ff96e96429a5c64a969bb4a574555439f4f # v1.3.1 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| api-token: ${{ secrets.CIRCLE_TOKEN }} | |
| artifact-path: 0/html/index.html | |
| circleci-jobs: build_docs | |
| job-title: Check the rendered docs here! |