Skip to content

Commit

Permalink
check links action
Browse files Browse the repository at this point in the history
Signed-off-by: Etai Lev Ran <[email protected]>
  • Loading branch information
elevran committed Mar 25, 2024
1 parent 42d750c commit 122e5af
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/hugo_checklinks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
workflow "Hugo Link Check" {
resolves = "linkcheck"
on = "pull_request"
}

action "filter-to-pr-open-synced" {
uses = "actions/bin/filter@master"
args = "action 'opened|synchronize'"
}

action "linkcheck" {
uses = "marccampbell/[email protected]"
needs = "filter-to-pr-open-synced"
secrets = ["GITHUB_TOKEN"]
env = {
HUGO_CONFIG = "./website/config.toml"
HUGO_ROOT = "./website"
HUGO_CONTENT_ROOT = "./website/content"
HUGO_FINAL_URL = "https://clusterlink.bet"
}
}

0 comments on commit 122e5af

Please sign in to comment.