Skip to content

added several new pages, not in navbar yet #79

added several new pages, not in navbar yet

added several new pages, not in navbar yet #79

Workflow file for this run

name: Deploy MkDocs site
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the code
- name: Checkout code
uses: actions/checkout@v4
# Step 2: Set up Python environment
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
# Step 3: Install MkDocs and plugins
- name: Install dependencies
run: |
pip install mkdocs
pip install mkdocs-simple-blog
pip install ghp-import
# Step 4: Configure git
- name: Configure git
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
# Step 5: Build MkDocs site
- name: Build MkDocs site
run: mkdocs build
# Step 6: Deploy to GitHub Pages
- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force --remote-branch gh-pages --verbose
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}