Skip to content

JustFixNYC/deadlink-crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deadlink Crawler Github Action

Example workflow:

on: [push]
jobs:
  find_dead_links:
    runs-on: ubuntu-latest
    name: Deadlink crawler
    steps:
      - name: Scan links
        uses: JustFixNYC/deadlink-crawler@v1.0
        with:
          site-url: "https://www.justfix.org/en/learn"
          token: ${{ secrets.GITHUB_TOKEN }}

Development

  • npm install to get set up
  • node index.js to run the action locally (comment out the areas that require a Github token)

Deployment

Generate the built files, commit and tag, then push the tagged commit.

npm run build
git commit -m "Commit message"
git tag -a -m "Tag message" v1.0
git push --follow-tags

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published