Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioContrerasH committed Sep 16, 2024
1 parent 86f1371 commit dc617e1
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -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
9 changes: 9 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit dc617e1

Please sign in to comment.