Skip to content

Update README.md

Update README.md #49

Workflow file for this run

name: mkdocs_build_deploy
on:
push:
branches:
- main # Set the branch you want to trigger the workflow on
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8 # Choose the Python version you need
- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/*.lock') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs mkdocs-material pymdown-extensions
- name: Build MkDocs
run: mkdocs build --clean
- name: Create and force push to documentation branch
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
# Your existing script to force push to the documentation branch