diff --git a/.github/workflows/deploy-env.yaml b/.github/workflows/deploy-env.yaml index d336530..a01f93b 100644 --- a/.github/workflows/deploy-env.yaml +++ b/.github/workflows/deploy-env.yaml @@ -118,7 +118,6 @@ jobs: needs: [ package, deploy_infrastructure ] environment: name: 'Test' - url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} steps: - name: Lowercase the repo name and username diff --git a/.github/workflows/validate-deployment.yaml b/.github/workflows/validate-deployment.yaml new file mode 100644 index 0000000..032e29e --- /dev/null +++ b/.github/workflows/validate-deployment.yaml @@ -0,0 +1,24 @@ +name: Validate - Run E2E Tests + +on: + workflow_dispatch: + inputs: + environment_prefix: + description: 'Environment Prefix' + required: true + default: 'd01' + options: + - 'd01' +jobs: + accessibility_scan: + name: 'Run Pa11y Accessibility Scan' + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./src + steps: + - uses: actions/checkout@v4 + + - name: Run accessibility scans + working-directory: ./src/e2e/pa11y + run: yarn pa11y-ci --sitemap https://s186${{ github.event.inputs.environment }}-cl-web-fd.azurefd.net/sitemap.xml \ No newline at end of file