Skip to content

Commit 928c2eb

Browse files
willingclwasser
authored andcommitted
Update linkcheck.yml build
This runs a periodic cron job. This PR removes deprecated build step.
1 parent daf1bdf commit 928c2eb

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/linkcheck.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,23 @@ jobs:
1010
linkChecker:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
13+
- name: Check out the code
14+
uses: actions/checkout@v4
1415

15-
- name: Build Jekyll site
16-
uses: helaili/jekyll-action@v2
16+
- name: Fetch main
17+
run: |
18+
git fetch origin main --depth 1
19+
git branch
20+
21+
- name: Setup Ruby
22+
uses: ruby/setup-ruby@v1
1723
with:
18-
build_only: true
19-
build_dir: _site
24+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
25+
26+
- name: Build with Jekyll
27+
run: bundle exec jekyll build
28+
env:
29+
JEKYLL_ENV: production
2030

2131
- name: Link Checker
2232
id: lychee

0 commit comments

Comments
 (0)