Skip to content

Commit

Permalink
update lyche to run on built site, updated checkout actions for all w…
Browse files Browse the repository at this point in the history
…orkflows
  • Loading branch information
russbiggs committed Jun 3, 2024
1 parent 96bbd66 commit d9e080a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
run: mkdir -p /home/runner/work/_temp/_github_home && printf "[safe]\n\tdirectory = /github/workspace" > /home/runner/work/_temp/_github_home/.gitconfig

- name: Git checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install npm dependencies
run: yarn install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Git checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,22 @@ jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Git checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install npm dependencies
run: yarn install

- name: Build
uses: openaq/hugo-build-action@main

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1
with:
args: --base ./public

- name: Create Issue From File
if: env.lychee_exit_code != 0
Expand Down

0 comments on commit d9e080a

Please sign in to comment.