Merge pull request #46 from kagenti/feat/add-google-analytics #29
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: Check links in Hugo site | |
| on: | |
| push: | |
| branches: ["main"] | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 0 * * 0' # Runs every Sunday at 00:00 UTC | |
| # Default to bash | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| check-links: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Check links with linkcheck | |
| uses: filiph/linkcheck@3.0.0 | |
| with: | |
| arguments: | | |
| https://kagenti.github.io/.github/ \ | |
| --skip-file skip_file.txt -e --no-check-anchors |