Verificador de links quebrados #492
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
name: Verificador de links quebrados | |
on: | |
schedule: | |
- cron: 0 8 * * * # Run daily at 8am | |
workflow_dispatch: | |
permissions: | |
issues: write | |
jobs: | |
check: | |
name: Broken links checker | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 14 | |
# https://github.com/stevenvachon/broken-link-checker | |
- name: Install broken link checker | |
run: npm install broken-link-checker -g | |
- uses: gautamkrishnar/keepalive-workflow@v2 | |
- name: Check for broken links | |
run: blc https://historiaonline.com -ro --exclude 'https://twitter.com' --exclude 'https://www.meudicionario.org' |