Skip to content

Commit f67f15b

Browse files
author
Aaron Meyer
committed
Get lychee working again
1 parent 203ddb0 commit f67f15b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Build website
22

3-
on:
4-
push
3+
on: push
54

65
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
76
permissions:
@@ -13,12 +12,12 @@ jobs:
1312
jekyll:
1413
runs-on: ubuntu-24.04
1514
steps:
16-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1716

1817
- name: Install ruby
1918
uses: ruby/setup-ruby@v1
2019
with:
21-
ruby-version: '3.4'
20+
ruby-version: "3.4"
2221
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
2322

2423
- name: Install Typst
@@ -40,12 +39,12 @@ jobs:
4039
uses: lycheeverse/lychee-action@v2
4140
with:
4241
fail: false
43-
args: "--base _site --accept '100..=103,200..=299,403' --cache --max-cache-age 14d _site"
42+
args: --root-dir "$(pwd)/_site" --verbose --accept '100..=103,200..=299,403' --cache --max-cache-age 14d _site
4443

4544
- name: Upload artifact
4645
uses: actions/upload-pages-artifact@v3
4746
with:
48-
path: '_site'
47+
path: "_site"
4948
- name: Deploy to GitHub Pages
5049
if: github.ref == 'refs/heads/main'
5150
id: deployment

0 commit comments

Comments
 (0)