CircleCI artifacts redirector #2420
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Book Preview | |
on: [status] | |
jobs: | |
circleci_artifacts_redirector_job: | |
runs-on: ubuntu-latest | |
if: "${{ github.event.context == 'ci/circleci: build_book' }}" | |
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 }} | |
artifact-path: 0/html/index.html | |
circleci-jobs: build_book | |
job-title: Click to preview rendered book |