Skip to content

Merge pull request #54 from wwt/dependabot/pip/certifi-2024.7.4 #46

Merge pull request #54 from wwt/dependabot/pip/certifi-2024.7.4

Merge pull request #54 from wwt/dependabot/pip/certifi-2024.7.4 #46

Workflow file for this run

# Build Documentation with MkDocs
name: Build Documentation w/ MkDocs
# Controls when the action will run.
on:
# Triggers the workflow on push events but only for the main branch
push:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
name: build and deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
submodules: recursive
- name: Set up Python3
uses: actions/setup-python@v5
with:
python-version: '3.x'
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Deploy
run: |
git pull
mkdocs gh-deploy