CircleCI artifact redirector #42
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: CircleCI artifact redirector | |
on: [status] | |
jobs: | |
circleci_artifacts_redirector_job: | |
runs-on: ubuntu-latest | |
if: "github.event.context == 'ci/circleci: build-blog'" | |
permissions: | |
statuses: write | |
name: Run CircleCI artifacts redirector | |
steps: | |
- name: GitHub Action step | |
uses: larsoner/circleci-artifacts-redirector-action@master | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
api-token: ${{ secrets.CIRCLECI_TOKEN }} | |
artifact-path: 0/blog/build/index.html | |
circleci-jobs: build-blog | |
job-title: Blog preview |