-
Notifications
You must be signed in to change notification settings - Fork 2
28 lines (28 loc) · 1009 Bytes
/
e2e.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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