diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 00000000..10fcba28 --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,27 @@ +name: Publish docs via GitHub Pages +on: + push: + branches: + - main + +jobs: + build: + name: Deploy docs + runs-on: ubuntu-latest + steps: + - name: Checkout main + uses: actions/checkout@v3 + + - name: Deploy docs + uses: mhausenblas/mkdocs-deploy-gh-pages@1.26 + # Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # CUSTOM_DOMAIN: optionaldomain.com +# CONFIG_FILE: /mkdocs.yml + EXTRA_PACKAGES: build-base + # GITHUB_DOMAIN: github.myenterprise.com +# REQUIREMENTS: /requirements.txt + +# - name: Deploy to GH-Pages +# run: mkdocs gh-deploy --config-file ./mkdocs.yml