mirror of
https://github.com/outbackdingo/meta-tanowrt.git
synced 2026-01-27 18:19:38 +00:00
Add GitHub Actions workflow for building and publishing documentation to GitHub Pages. Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
23 lines
529 B
YAML
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
|