From 57e99e1ac35c6a96b4f68605b3106492489cc532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjell=20Hedstr=C3=B6m?= Date: Thu, 23 May 2024 08:49:50 -0600 Subject: [PATCH] Update documentation.yml --- .github/workflows/documentation.yml | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 82315f43..cff68b0c 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -15,15 +15,25 @@ jobs: steps: - name: Checkout master uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: 3.x - - run: pip install mkdocs && pip install mkdocs-material==8.5 - - name: Deploy site - run: mkdocs build - # build according to mkdocs.yml in root directory - - name: Deploy https://kjellkod.github.io/g3log/ - run: mkdocs gh-deploy --force + + - name: Deploy docs + uses: mhausenblas/mkdocs-deploy-gh-pages@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CONFIG_FILE: mkdocs.yml + EXTRA_PACKAGES: build-base + + + + # - uses: actions/setup-python@v5 + # with: + # python-version: 3.x + # - run: pip install mkdocs && pip install mkdocs-material==8.5 + # - name: Deploy site + # run: mkdocs build + # # build according to mkdocs.yml in root directory + # - name: Deploy https://kjellkod.github.io/g3log/ + # run: mkdocs gh-deploy --force # - name: Deploy docs