Skip to content

Merge pull request #21 from wwt/dependabot/pip/urllib3-2.2.2 #26

Merge pull request #21 from wwt/dependabot/pip/urllib3-2.2.2

Merge pull request #21 from wwt/dependabot/pip/urllib3-2.2.2 #26

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Build Documentation w/ MkDocs
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request 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:
- name: Checkout Repo
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