Skip to content

Commit

Permalink
Update docs link GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sdhiscocks committed May 3, 2024
1 parent ab6af2b commit 8abde32
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/docs-link.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
name: Documentation link
on: status

on: [status]

permissions: read-all

jobs:
circleci_artifacts_redirector_job:
runs-on: ubuntu-latest
if: "${{ github.event.context == 'ci/circleci: docs' }}"
permissions:
statuses: write
name: Run CircleCI artifacts redirector
steps:
- name: GitHub Action step
uses: larsoner/circleci-artifacts-redirector-action@0.3.1
uses: larsoner/circleci-artifacts-redirector-action@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
api-token: ${{ secrets.CIRCLECI_DOCS_LINK }}
artifact-path: 0/docs/index.html
circleci-jobs: docs
job-title: Check the rendered docs here!

0 comments on commit 8abde32

Please sign in to comment.