From 9b45d51176ec8ef2d2b74b77b2a60b6be14d5c00 Mon Sep 17 00:00:00 2001 From: wpsimon09 Date: Fri, 27 Sep 2024 12:49:52 +0200 Subject: [PATCH] added yml file --- .github/workflows/deoply-documentation.yml | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/deoply-documentation.yml b/.github/workflows/deoply-documentation.yml index e69de29..ca0c384 100644 --- a/.github/workflows/deoply-documentation.yml +++ b/.github/workflows/deoply-documentation.yml @@ -0,0 +1,24 @@ +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@v2 + + - name: Deploy docs + uses: mhausenblas/mkdocs-deploy-gh-pages@master + # 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: folder/mkdocs.yml + EXTRA_PACKAGES: build-base + # GITHUB_DOMAIN: github.myenterprise.com + REQUIREMENTS: folder/requirements.txt \ No newline at end of file