Skip to content

Commit

Permalink
Update linkcheck.yml build
Browse files Browse the repository at this point in the history
This runs a periodic cron job. This PR removes deprecated build step.
  • Loading branch information
willingc authored and lwasser committed Nov 18, 2024
1 parent daf1bdf commit 928c2eb
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,23 @@ jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check out the code
uses: actions/checkout@v4

- name: Build Jekyll site
uses: helaili/jekyll-action@v2
- name: Fetch main
run: |
git fetch origin main --depth 1
git branch
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
build_only: true
build_dir: _site
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: Build with Jekyll
run: bundle exec jekyll build
env:
JEKYLL_ENV: production

- name: Link Checker
id: lychee
Expand Down

0 comments on commit 928c2eb

Please sign in to comment.