From dc617e109ab4ceb6fa023ac3e94b91995dd11028 Mon Sep 17 00:00:00 2001 From: Julio Cesar Contreras Huerta <126512018+JulioContrerasH@users.noreply.github.com> Date: Mon, 16 Sep 2024 11:20:49 +0200 Subject: [PATCH] up --- .github/workflows/mkdocs.yml | 30 ++++++++++++++++++++++++++++++ requirements.txt | 9 +++++++++ 2 files changed, 39 insertions(+) create mode 100644 .github/workflows/mkdocs.yml create mode 100644 requirements.txt diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml new file mode 100644 index 0000000..de72fa0 --- /dev/null +++ b/.github/workflows/mkdocs.yml @@ -0,0 +1,30 @@ +name: deploy +on: + push: + branches: [ "main" ] + + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup Python + uses: actions/setup-python@v3 + with: + python-version: "3.11" + architecture: "x64" + - name: Install dependencies + run: | + python3 -m pip install --upgrade pip + python3 -m pip install wheel + python3 -m pip install -r requirements.txt + - name: Build site + run: mkdocs build + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./site \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..53a88ff --- /dev/null +++ b/requirements.txt @@ -0,0 +1,9 @@ +mkdocs==1.3.* +mkdocs-material==8.2.* +pymdown-extensions>=10.0 +markdown==3.3.* +mdx_truly_sane_lists==1.2.* +mkdocs-git-revision-date-localized-plugin==1.0.* +mkdocs-awesome-pages-plugin==2.9.1 +mkdocstrings +mkdocs-same-dir \ No newline at end of file