From 5e5ac2da383fc363b3a5fcbaba251c622c8fc701 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjell=20Hedstr=C3=B6m?= Date: Thu, 23 May 2024 09:17:35 -0600 Subject: [PATCH] Update documentation.yml --- .github/workflows/documentation.yml | 76 ++--------------------------- 1 file changed, 3 insertions(+), 73 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index c010df15..d9c18320 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -1,3 +1,6 @@ +# Locally you can try this out also with `mkdocs serve` +# Remember if doing changes that github pages, need to deploy branch gh_pages +# which points to root. name: Dockumentation Publish v2 on: push: @@ -26,76 +29,3 @@ jobs: mkdocs-material- - run: pip install mkdocs-material - run: mkdocs gh-deploy --force - - - -# name: Publish docs via GitHub Pages -# on: -# push: -# branches: -# - master -# paths: -# - "**.md" -# - "**.yml" -# - docs/** - -# jobs: -# build: -# name: Deploy docs -# runs-on: ubuntu-latest -# steps: -# - name: Checkout master -# uses: actions/checkout@v4 - -# - 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 - # uses: mhausenblas/mkdocs-deploy-gh-pages@master - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # CONFIG_FILE: mkdocs.yml - # EXTRA_PACKAGES: build-base - -# # Publish docs via GitHub Pages to https://kjellkod.github.io/g3log/ -# on: -# push: -# branches: -# - master -# paths: -# - "**.md" -# - "**.yml" -# - docs/** - - -# jobs: -# deploy: -# runs-on: ubuntu-latest -# steps: -# - 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