1
0
mirror of https://github.com/namibia/free-programming-books.git synced 2024-05-28 20:10:49 +00:00
programming-books/.github/workflows/main.yml
2020-08-23 13:02:31 -04:00

17 lines
509 B
YAML

name: check_urls
on: [push]
jobs:
job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: trilom/file-changes-action@v1.2.4
id: file_changes
with:
output: ''
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.4.1
- run: gem install awesome_bot
- run: for i in ${{ steps.file_changes.outputs.files_modified }}; do echo; echo "processing $i"; awesome_bot $i --allow-redirect --allow-dupe --skip-save-results; done