From 2ed91cf10b5575cf0e443a75c137f7bed0155c6f Mon Sep 17 00:00:00 2001 From: Dusan Borovcanin Date: Fri, 29 Nov 2024 14:30:28 +0100 Subject: [PATCH] Add GH pages action Signed-off-by: Dusan Borovcanin --- .github/workflows/pages.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/pages.yml diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 0000000..b08fbc1 --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,23 @@ +name: Publish docs via GitHub Pages + +# Controls when the action will run +on: + push: + branches: + - main + +permissions: + contents: write + +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 }} \ No newline at end of file