Skip to content

Commit

Permalink
Update run-htmltest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel authored Mar 14, 2024
1 parent 389a9ff commit f0a98a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/run-htmltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
- name: Test HTML
# https://github.com/wjdp/htmltest-action/
# Don't fail the build on broken links
id: test-html
continue-on-error: false
uses: wjdp/htmltest-action@master
with:
Expand All @@ -57,11 +58,12 @@ jobs:
uses: atlassian/gajira-create@v3
env:
GITHUB_RUN_ID: ${{ github.run_id }}
HTMLTEST_JOB_ID: ${{ steps.test-html.outputs.job-id }}
with:
project: DOCS
issuetype: Bug
summary: Broken link detected
description: "For more info see https://github.com/viamrobotics/docs/actions/runs/${{ env.GITHUB_RUN_ID }}. ${{ github.run_id }}"
description: "For more info see https://github.com/viamrobotics/docs/actions/runs/${{ env.GITHUB_RUN_ID }}/job/${{ env.HTMLTEST_JOB_ID }}."
- name: Log created Jira issue
if: failure()
run: echo "Issue ${{ steps.create.outputs.issue }} was created"

0 comments on commit f0a98a8

Please sign in to comment.