name: fundoc

on:
  workflow_dispatch:
  push:
    branches: [ master ]

jobs:
  fundoc:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
      with:
        ref: ${{ github.head_ref }}

    - name: Fundoc Action
      uses: csssr/fundoc-action@v0.2.0

    - uses: stefanzweifel/git-auto-commit-action@v4
      with:
        commit_message: 'docs: generate documentation'
