Skip to content

Merge pull request #30 from TigerGraph-DevLabs/docs #76

Merge pull request #30 from TigerGraph-DevLabs/docs

Merge pull request #30 from TigerGraph-DevLabs/docs #76

Workflow file for this run

name: Deploy MkDocs
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
# Step 1: Check out the repository
- name: Check out repository
uses: actions/checkout@v3
# Step 2: Set up Python
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
# Step 3: Install dependencies
- name: Install dependencies
run: |
pip install mkdocs mkdocs-material mkdocs-jupyter mkdocs-exclude-search mkdocstrings-python
# Step 4: Build the MkDocs site
- name: Build MkDocs
run: |
mkdocs build
# Step 5: Deploy to GitHub Pages
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: site