diff --git a/.github/workflows/check_508_compliance.yml b/.github/workflows/check_508_compliance.yml index 5e89c8b..071a616 100644 --- a/.github/workflows/check_508_compliance.yml +++ b/.github/workflows/check_508_compliance.yml @@ -27,38 +27,4 @@ jobs: env: TARGET_BASE_URL: ${{ steps.target-base.outputs.TARGET_BASE_URL }} run: | - TARGETS_TO_SCAN="${TARGET_BASE_URL}" - TARGETS_TO_SCAN="${TARGETS_TO_SCAN} ${TARGET_BASE_URL}/faq.html" - TARGETS_TO_SCAN="${TARGETS_TO_SCAN} ${TARGET_BASE_URL}/data.html" - TARGETS_TO_SCAN="${TARGETS_TO_SCAN} ${TARGET_BASE_URL}/pilot.html" - TARGETS_TO_SCAN="${TARGETS_TO_SCAN} ${TARGET_BASE_URL}/docsV1.html" - TARGETS_TO_SCAN="${TARGETS_TO_SCAN} ${TARGET_BASE_URL}/docsV2.html" - TARGETS_TO_SCAN="${TARGETS_TO_SCAN} ${TARGET_BASE_URL}/updates.html" - docker run --init --rm --cap-add=SYS_ADMIN orenfromberg/axe-puppeteer-ci:1.0.0@sha256:f83527a3ae8ab74088c001abfe44836946ba73f0afbbf460447f8a0c40281e70 $TARGETS_TO_SCAN - - uses: slackapi/slack-github-action@v2.0.0 - name: Slack Success - with: - method: chat.postMessage - token: ${{ secrets.SLACK_BOT_TOKEN }} - # Sends to dpc-deploys - payload: | - channel: "CMC1E4AEQ" - attachments: - - color: good - text: "SUCCESS: <${{ github.server_url}}/${{ github.repository}}/actions/runs/${{ github.run_id }}|Static Site 508 Compliance> completed against `${{ steps.target-base.outputs.TARGET_BASE_URL }}`" - mrkdown_in: - - text - - uses: slackapi/slack-github-action@v2.0.0 - name: Slack failure - if: ${{ failure() }} - with: - method: chat.postMessage - token: ${{ secrets.SLACK_BOT_TOKEN }} - # Sends to dpc-deploys - payload: | - channel: "CMC1E4AEQ" - attachments: - - color: danger - text: "FAILURE: <${{ github.server_url}}/${{ github.repository}}/actions/runs/${{ github.run_id }}|Static Site 508 Compliance> completed against `${{ steps.target-base.outputs.TARGET_BASE_URL }}`" - mrkdown_in: - - text + echo $TARGET_BASE_URL