CircleCI artifact redirector #201561
This file contains 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
# To enable this workflow on a fork, comment out: | |
# | |
# if: github.repository == 'numpy/numpy' | |
name: CircleCI artifact redirector | |
on: [status] | |
permissions: read-all | |
jobs: | |
circleci_artifacts_redirector_job: | |
runs-on: ubuntu-latest | |
if: "github.repository == 'numpy/numpy' && !contains(github.event.head_commit.message, '[circle skip]') && !contains(github.event.head_commit.message, '[skip circle]') && github.event.context == 'ci/circleci: build'" | |
name: Run CircleCI artifacts redirector | |
permissions: | |
statuses: write | |
steps: | |
- name: GitHub Action step | |
uses: larsoner/circleci-artifacts-redirector-action@7e80b26b4c58b5d3272effc05491c18296b1ad6e # master | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
api-token: ${{ secrets.CIRCLE_TOKEN }} | |
artifact-path: 0/doc/build/html/index.html | |
circleci-jobs: build |