Skip to content

Commit 6933724

Browse files
committed
added hugo link checker
1 parent 3604c8f commit 6933724

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/main.workflow

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
workflow "Hugo Link Check" {
2+
resolves = "linkcheck"
3+
on = "pull_request"
4+
}
5+
6+
action "filter-to-pr-open-synced" {
7+
uses = "actions/bin/filter@master"
8+
args = "action 'opened|synchronize'"
9+
}
10+
11+
action "linkcheck" {
12+
uses = "marccampbell/[email protected]"
13+
needs = "filter-to-pr-open-synced"
14+
secrets = ["GITHUB_TOKEN"]
15+
env = {
16+
HUGO_FINAL_URL = "https://dasc-lab.github.io/"
17+
HUGO_CONFIG = "./hugo.toml"
18+
}
19+
}

0 commit comments

Comments
 (0)