Skip to content

Commit

Permalink
chore: fix link job
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldtse committed Aug 10, 2023
1 parent 9b95d7f commit 14172a9
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,24 @@ jobs:
link_checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v3

- uses: ruby/setup-ruby@v1
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
bundler-cache: true
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3

- name: Build site
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
run: make _site

- name: Link Checker
uses: lycheeverse/[email protected]
Expand Down

0 comments on commit 14172a9

Please sign in to comment.