Skip to content

Commit

Permalink
Create urlcheck.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hillarymarler committed Aug 28, 2024
1 parent d6b3bb6 commit 0be401f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/urlcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Workflow derived from https://github.com/technote-space/broken-link-checker-action
on:
push:
branches: [develop]
pull_request:
branches: [develop]
# release:
# types: [published]
workflow_dispatch:

name: Broken Link Check

jobs:
check-links:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up R
uses: r-lib/actions/setup-r@v2

- name: Install dependencies
run: |
install.packages(c("xml2", "rvest", "httr"))
- name: Run Broken Link Checker
uses: technote-space/broken-link-checker-action@v2
with:
target: 'https://github.com/USEPA/EPATADA/' # Replace with your package URL
recursive: true

0 comments on commit 0be401f

Please sign in to comment.