Symfony Migration #36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Validate Documentation | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - 'docs/**' | |
| jobs: | |
| Build-Validate-Website-Documentation: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v5 | |
| with: | |
| submodules: 'true' | |
| - name: Setup node env | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: 22 | |
| - name: Setup link checker | |
| run: npm install broken-link-checker http-server | |
| - name: Setup Pages | |
| uses: actions/configure-pages@v5 | |
| - name: Build | |
| uses: actions/jekyll-build-pages@v1 | |
| with: | |
| source: './docs' | |
| destination: './_site' | |
| verbose: true | |
| - name: Validate Site | |
| run: | | |
| ./node_modules/.bin/http-server ./_site -p 8080 & | |
| ./node_modules/.bin/blc --input http://localhost:8080 --recursive --exclude-external | |
| - name: Check for unprocessed markdown files | |
| run: find _site ! -name README.md -name \*.md | { ! grep '^'; } |