Skip to content

Commit

Permalink
Run linker checker on workflow_call instead of push
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Nov 17, 2024
1 parent e022301 commit 0300046
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,7 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

check-links:
needs: deploy
uses: check-spelling/check-spelling-docs/.github/workflows/link-checker.yml@main
3 changes: 2 additions & 1 deletion .github/workflows/link-checker.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Link Checker

on:
push:
workflow_call:
workflow_dispatch:

jobs:
Expand All @@ -20,6 +20,7 @@ jobs:
env:
site: ${{ vars.gh_pages_site || 'docs.check-spelling.dev' }}
run: |
: Link Checker
(
echo "# Link Checker ($site)"
echo
Expand Down

0 comments on commit 0300046

Please sign in to comment.