Skip to content

Docs

Docs #8

Workflow file for this run

name: Docs
on:
workflow_dispatch:
push:
paths:
- 'docs/**'
branches-ignore:
- 'MOP4-dev'
pull_request:
paths:
- 'docs/**'
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/setup-python@v2
- uses: actions/checkout@master
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: Build and Commit
uses: sphinx-notes/pages@v2
with:
requirements_path: "docs/requirements.txt"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages