Skip to content

CircleCI artifacts redirector #3204

CircleCI artifacts redirector

CircleCI artifacts redirector #3204

name: CircleCI artifacts redirector
on: [status]
concurrency:
group: docs-preview-${{ github.ref }}
cancel-in-progress: true
jobs:
circleci_artifacts_redirector_job:
runs-on: ubuntu-latest
# For testing this action on a fork, remove the "github.repository =="" condition.
if: "github.event.context == 'ci/circleci: build-book'"
permissions:
statuses: write
name: Run CircleCI artifacts redirector
steps:
- name: GitHub Action step
id: step1
uses: larsoner/circleci-artifacts-redirector-action@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
api-token: ${{ secrets.CIRCLECI_TOKEN }}
artifact-path: 0/html/index.html
circleci-jobs: build-book
job-title: View rendered book here!