diff --git a/.github/workflows/main.workflow b/.github/workflows/main.workflow new file mode 100644 index 0000000..4b6653f --- /dev/null +++ b/.github/workflows/main.workflow @@ -0,0 +1,18 @@ +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/hugo-linkcheck-action@v0.1.3" + needs = "filter-to-pr-open-synced" + secrets = ["GITHUB_TOKEN"] + env = { + HUGO_FINAL_URL = "https://blog.colinx.one" + } +} \ No newline at end of file