Skip to content

Merge pull request #22 from Ananthakrishnan12/main #3

Merge pull request #22 from Ananthakrishnan12/main

Merge pull request #22 from Ananthakrishnan12/main #3

Workflow file for this run

name: Generate Documentation
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install MkDocs
run: |
python3 -m pip install --upgrade pip
pip install stylepy mkdocs mkdocs-material mkdocs-gen-nav-plugin mkdocs-awesome-pages-plugin pymdown-extensions mkdocstrings
- name: Generate Documentation
run: |
chmod +x ./generate_docs.sh
./generate_docs.sh
- name: Build MkDocs Site
run: |
mkdocs build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site # Publish from the site generated by MkDocs
keep_files: true