From 1ba86fd967d623ae5f79158dd02cba4ee7402bd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Alejandro=20Oramas=20L=C3=B3pez?= Date: Wed, 12 Jul 2023 12:55:44 -0400 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..2d62da8 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,42 @@ +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 }} + + + + CONFIG_FILE: mkdocs.yml + + EXTRA_PACKAGES: build-base + + +