docs: added config for docker2s2, plus What's New for v2.1.2 #320
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
pull_request: | |
branches: | |
- main | |
env: | |
PYTHON_VERSION: 3.11 | |
permissions: | |
contents: read | |
jobs: | |
build_site: | |
name: Build Site | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python runtime | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Set up build cache | |
uses: actions/cache@v3 | |
id: cache | |
with: | |
key: ${{ runner.os }}-${{ hashFiles('.cache/**') }} | |
path: .cache | |
- name: Install Python dependencies | |
run: | | |
pip install -r requirements.txt | |
- name: Build Docs | |
run: | | |
mkdocs --version | |
mkdocs build |