Files
meta-tanowrt/.github/workflows/pages.yml
Anton Kikin ba26425879 ci: Add action for building and publishing documentation
Add GitHub Actions workflow for building and publishing
documentation to GitHub Pages.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2022-07-22 05:25:58 +03:00

23 lines
529 B
YAML

name: Pages
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
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