summaryrefslogtreecommitdiff
path: root/.github/workflows/circleci-redirector.yml
blob: f836443da64561b468257f43cb813c1e05606cb8 (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_docs' }}"
    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