awesome_yourls/.github/workflows/check-links.yml

26 lines
652 B
YAML
Raw Normal View History

name: Check links
on:
workflow_dispatch:
schedule:
- cron: '0 12 */7 * *'
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.2
- name: Install Awesome Bot
run: gem install awesome_bot
- name: Run Awesome Bot
run: awesome_bot README.md --request-delay 1 --allow-ssl --allow-timeout -t 5 --allow-dupe --white-list sho.rt,your.site,long.url,awesome.re
- uses: actions/upload-artifact@v3
if: failure()
with:
name: ab-results
path: ab-results-README.md-filtered.json