@@ -37,17 +37,25 @@ jobs:
3737 bundler-cache : true
3838 working-directory : ${{ matrix.site }}
3939
40- - name : Start Jekyll (${{ matrix.site }})
40+ - name : Build Jekyll site (${{ matrix.site }})
4141 shell : bash
4242 working-directory : ${{ matrix.site }}
4343 env :
4444 JEKYLL_ENV : production
45+ run : bundle exec jekyll build
46+
47+ - name : Start Puma (${{ matrix.site }})
48+ shell : bash
49+ working-directory : ${{ matrix.site }}
50+ env :
51+ TEST_USERNAME : ${{ secrets.TEST_USERNAME }}
52+ TEST_PASSWORD : ${{ secrets.TEST_PASSWORD }}
4553 run : |
4654 set -euo pipefail
47- bundle exec jekyll serve --no-watch --detach
48- echo "Starting Jekyll on port 4000"
55+ bundle exec puma -b tcp://127.0.0.1:4000
56+ echo "Starting Puma on port 4000"
4957 curl -fsS --retry 25 --retry-delay 1 --retry-all-errors "http://127.0.0.1:4000/" > /dev/null
50- echo "Jekyll has started"
58+ echo "Puma has started"
5159
5260 - name : Generate cache key
5361 id : cache_key
@@ -56,13 +64,16 @@ jobs:
5664 echo "cache_key=$(printf 'cached_findings-%s-%s.json' "${{ github.ref_name }}" "${{ matrix.site }}" | tr -cs 'A-Za-z0-9._-' '_')" >> $GITHUB_OUTPUT
5765
5866 - name : Scan site (${{ matrix.site }})
59- uses : github-community-projects/continuous-ai-for-accessibility-scanner@main
67+ uses : github-community-projects/continuous-ai-for-accessibility-scanner@smockle/auth-plus-basic
6068 with :
6169 urls : |
6270 http://127.0.0.1:4000/
6371 http://127.0.0.1:4000/jekyll/update/2025/07/30/welcome-to-jekyll.html
6472 http://127.0.0.1:4000/about/
6573 http://127.0.0.1:4000/404.html
74+ login_url : http://127.0.0.1:4000/
75+ username : ${{ secrets.TEST_USERNAME }}
76+ password : ${{ secrets.TEST_PASSWORD }}
6677 repository : github-community-projects/continuous-ai-for-accessibility-scanner
6778 token : ${{ secrets.GH_TOKEN }}
6879 cache_key : ${{ steps.cache_key.outputs.cache_key }}
0 commit comments