Skip to content

CircleCI artifacts redirector #2251

CircleCI artifacts redirector

CircleCI artifacts redirector #2251

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 == 'scikit-learn-contrib/imbalanced-learn' && github.event.context == 'ci/circleci: doc'"
name: Run CircleCI artifacts redirector
steps:
- name: GitHub Action step
uses: scientific-python/circleci-artifacts-redirector-action@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
api-token: ${{ secrets.CIRCLE_CI }}
artifact-path: 0/doc/index.html
circleci-jobs: doc
job-title: Check the rendered docs here!