summaryrefslogtreecommitdiff
path: root/.github/workflows/circleci-redirector.yml
blob: b6e2ca483e4a7c7fa90a902b3b86ca68f77ee637 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
name: circleci-redirector
on: [status]
jobs:
  circleci_artifacts_redirector_job:
    runs-on: ubuntu-latest
    if: "${{ github.event.context == 'ci/circleci: build_doc' }}"
    name: Run CircleCI artifacts redirector
    steps:
      - name: GitHub Action step
        uses: larsoner/circleci-artifacts-redirector-action@master
        with:
          api-token: ${{ secrets.CIRCLE_TOKEN }}
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          artifact-path: 0/dev/index.html
          circleci-jobs: build_docs