sailfish/.github/workflows/doc.yml

23 lines
539 B
YAML
Raw Normal View History

name: building github pages documentation
on:
push:
branches:
- stable
jobs:
build-and-deploy:
name: building documentation and deploying it on gh-pages branch
runs-on: ubuntu-latest
steps:
2022-03-10 16:49:58 -05:00
- name: clean the directory
run: rm -rfv *
- name: pull the code
2022-03-10 16:28:15 -05:00
uses: actions/checkout@v3
with:
clean: true
- name: install dependencies
run: pip install -r requirements.txt
- name: build and deploy
run: mkdocs gh-deploy -f docs/en/mkdocs.yml