name: Pull Request Docs Check on: [pull_request] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Prepare run: | sudo apt-get update -y sudo apt-get install -y git python3-pip mandoc pip install -r docs/requirements.txt - name: Gen_man_pages run: make man - name: Gen_sphinx uses: ammaraskar/sphinx-action@master with: pre-build-command: "apt-get update -y && apt-get install -y git" docs-folder: "docs/"