name: CI

on:
  push:
    branches:
      - master
  pull_request:
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - name: Build docs
        run: bash ci/docker-build.sh


  linkcheck:
     runs-on: ubuntu-latest

     steps:
      - uses: actions/checkout@v2

      - name: Verify links
        run: bash ci/docker-linkcheck.sh
