Skip to content

Commit

Permalink
Merge pull request #49 from agencyenterprise/display_circle_ci_artifa…
Browse files Browse the repository at this point in the history
…cts_url

Adding job to display a link to the PR generated documentation
  • Loading branch information
NewtonSander authored May 17, 2023
2 parents 73d8835 + d3e9356 commit a970cc2
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ workflows:

default:
jobs:
- build_docs
- build_docs:
name: build_docs
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#### Labels

Assign of these labels to the PR:
Assign one of these labels to the PR:
- norelease
- release:patch
- release:minor
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/circle_artifacts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Docs artifacts redirector

on: [status]

permissions: read-all
jobs:
circleci_artifacts_redirector_job:
if: "${{ startsWith(github.event.context, 'ci/circleci: build_docs') }}"
permissions:
statuses: write
runs-on: ubuntu-20.04
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/html/index.html
circleci-jobs: build_docs
job-title: Check the rendered docs here!

0 comments on commit a970cc2

Please sign in to comment.