-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
title: Website Contains Broken Links | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
## Broken Links Detected | ||
|
||
Broken Link Checker found broken links on https://andrewwegner.com | ||
|
||
[View Results](https://github.com/AWegnerGitHub/awegnergithub.github.io-content/actions/workflows/check-broken-links.yml) | ||
|
||
_Use search filter `─BROKEN─` to highlight failures_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Broken Links Checker | ||
on: | ||
schedule: | ||
- cron: '12 1 * * 5' | ||
workflow_dispatch: | ||
env: | ||
WEBSITE_URL: "https://brunalab.github.io/apps_for_fieldwork/" | ||
ISSUE_TEMPLATE: ".github/workflows/check-links.md" | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Run Broken Links Checker | ||
run: npx broken-link-checker $WEBSITE_URL --ordered --recursive --user-agent "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0" --exclude linkedin --exclude "udemy" --exclude "ude.my" --exclude "eia.gov" --exclude "backpack.tf" --exclude hlsw --exclude dell --exclude supermicro --exclude mysql | ||
|
||
- uses: actions/checkout@v3 | ||
if: failure() | ||
|
||
- uses: JasonEtco/create-an-issue@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
filename: ${{ env.ISSUE_TEMPLATE }} | ||
if: failure() |