Skip to content

E2E

E2E #100

Workflow file for this run

name: E2E
on: [deployment_status]
jobs:
accessibility:
if: github.event.deployment_status.state == 'success'
runs-on: ubuntu-22.04
permissions:
checks: read
pull-requests: write
steps:
- uses: actions/checkout@v4
name: Checkout configuration file
with:
sparse-checkout: |
.pa11yci.json
sparse-checkout-cone-mode: false
- name: Log Deployment Status
run: echo "Deployment URL- ${{ github.event.deployment_status.environment_url }}"
- name: Enable unprivileged user namespaces
run: sudo sysctl kernel.unprivileged_userns_clone=1
shell: bash
- uses: narthur/pa11y-ratchet@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
sitemap-url: ${{ github.event.deployment_status.environment_url }}/sitemap-0.xml
find: https://blog.beeminder.com
replace: ${{ github.event.deployment_status.environment_url }}
config-path: .pa11yci.json