Add TC UNITS and announcement #86
This file contains 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: links | |
on: | |
push: | |
branches: | |
- main | |
- staging | |
pull_request: | |
jobs: | |
link_checker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3' | |
bundler-cache: true | |
- name: Build site | |
env: | |
JEKYLL_ENV: production | |
run: bundle exec jekyll build | |
- name: Link Checker | |
uses: lycheeverse/lychee-action@v2 | |
with: | |
args: --verbose --no-progress -b _site --fallback-extensions html --offline _site/*.html _site/**/*.html | |
fail: true | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
# - name: Create Issue From File | |
# uses: peter-evans/create-issue-from-file@v2 | |
# with: | |
# title: Link Checker Report | |
# content-filepath: ./lychee/out.md | |
# labels: report, automated issue |