Skip to content

Rafagas workflow

Rafagas workflow #951

Workflow file for this run

name: Rafagas workflow
on:
workflow_dispatch:
schedule:
- cron: '0 4 * * *'
jobs:
link-checker:
runs-on: ubuntu-latest
if: github.repository_owner == 'geoinquiets'
steps:
- uses: actions/checkout@v2
- name: Install libcurl4-openssl-dev
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.4.1
bundler-cache: true
- name: Cache folders
uses: actions/cache@v2
with:
path: |
tmp
_site
key: rafagas-cache
- name: Build the site
run: bundle exec jekyll build
env:
NOKOGIRI_USE_SYSTEM_LIBRARIES: true
- name: Run the link check
id: link-check-run
run: |
bundle exec ruby script/proof-all.rb 2>&1 | tee output.log || true
echo "::set-output name=count::$(cat output.log | tail -n1)"