Skip to content

Commit

Permalink
include uploading of artefacts for accessibility testing for hugo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
denseflux authored Oct 17, 2023
1 parent bbf81d8 commit 30659b9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,18 @@ jobs:
uses: microsoft/accessibility-insights-action@v3
with:
# Provide either static-site-dir or url
static-site-dir: ./public
# url: your-website-url
static-site-dir: ${{ steps.pages.outputs.base_url }}
static-site-dir-relative-path: ./public

# Provide any additional inputs here
fail-on-accessibility-error: true

- name: Upload report artifact
if: success() || failure()
uses: actions/upload-artifact@v3
with:
name: accessibility-reports
path: ${{ github.workspace }}/_accessibility-reports

# Deployment job
deploy:
environment:
Expand Down

0 comments on commit 30659b9

Please sign in to comment.