Redesign the website #83
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: Site checks | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| ruby-version: '3.3' | |
| - name: Build site | |
| run: bundle exec jekyll build | |
| - name: Check generated HTML and internal links | |
| run: bundle exec htmlproofer ./_site --disable-external --ignore-urls '/minecraft:/' | |
| - name: Verify public pages, sitemap, and source data | |
| run: bundle exec ruby tools/verify-site.rb ./_site |