From f4106fa61d00cb68e6dcbe1ccaf764de2ba799ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Drouet?= Date: Sun, 27 Feb 2022 14:41:20 +0100 Subject: [PATCH] docs: build and deploy to github pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Drouet --- .github/workflows/doc.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/doc.yml diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml new file mode 100644 index 0000000..e44f0e0 --- /dev/null +++ b/.github/workflows/doc.yml @@ -0,0 +1,18 @@ +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: + - name: pull the code + uses: actions/checkout@v2 + - name: install dependencies + run: pip install -r requirements.txt + - name: build and deploy + run: mkdocs gh-deploy -f docs/en/mkdocs.yml