From 3fa55bac6b770230b0ad9765616d2816197ca928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Sat, 13 Jul 2024 11:12:06 +0200 Subject: [PATCH] ci(github): Generate the MkDocs website --- .github/workflows/Website.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/Website.yaml diff --git a/.github/workflows/Website.yaml b/.github/workflows/Website.yaml new file mode 100644 index 0000000..15ceeb4 --- /dev/null +++ b/.github/workflows/Website.yaml @@ -0,0 +1,31 @@ +name: Website + +on: push + +#on: +# push: +# branches: +# - main + +jobs: + mkdocs: + name: Generate the MkDocs website + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + - uses: actions/setup-python@v5 + with: + python-version: 3.x + - name: Install MkDocs + run: pip install mkdocs-material[imaging] + - name: Generate the website + run: | + pushd docs/website + mkdocs build --site-dir ../../docs-website + popd + ls + - uses: actions/upload-pages-artifact@v3 + with: + path: docs-website