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