| 1 |
# To enable this workflow on a fork, comment out: |
| 2 |
# |
| 3 |
# if: github.repository == 'numpy/numpy' |
| 4 |
|
| 5 |
name: CircleCI artifact redirector |
| 6 |
|
| 7 |
on: [status] |
| 8 |
|
| 9 |
permissions: read-all |
| 10 |
|
| 11 |
jobs: |
| 12 |
circleci_artifacts_redirector_job: |
| 13 |
runs-on: ubuntu-latest |
| 14 |
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'" |
| 15 |
name: Run CircleCI artifacts redirector |
| 16 |
permissions: |
| 17 |
statuses: write |
| 18 |
steps: |
| 19 |
- name: GitHub Action step |
| 20 |
uses: larsoner/circleci-artifacts-redirector-action@5d358ff96e96429a5c64a969bb4a574555439f4f # master |
| 21 |
with: |
| 22 |
repo-token: ${{ secrets.GITHUB_TOKEN }} |
| 23 |
api-token: ${{ secrets.CIRCLE_TOKEN }} |
| 24 |
artifact-path: 0/doc/build/html/index.html |
| 25 |
circleci-jobs: build |