mirror of
https://github.com/EbookFoundation/free-programming-books.git
synced 2024-12-21 10:56:13 +00:00
724c2b277c
* fix broken urls * trigger on pull request creation too * allow certificate verify failed some sites have misconfigured/expired certs * adding back two links that were manually verified good
17 lines
535 B
YAML
17 lines
535 B
YAML
name: check_urls
|
|
on: [push, pull_request]
|
|
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 --allow-ssl; done
|