Add the missing <__instance>
to all env_file:
lines in the templates
#1261
Workflow file for this run
This file contains hidden or 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 and Deploy mkdocs | |
on: | |
push: | |
pull_request: | |
jobs: | |
mkdocs: | |
name: Build and Deploy mkdocs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
sparse-checkout: | | |
docs | |
- name: Setup python | |
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | |
with: | |
python-version: 3.x | |
- name: Get pip cache directory | |
id: pip-cache | |
run: | | |
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT | |
- name: Cache dependencies | |
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 | |
with: | |
path: ${{ steps.pip-cache.outputs.dir }} | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Install dependencies | |
run: pip install -r docs/requirements.txt | |
- name: Build documentation | |
run: mkdocs build | |
- name: Deploy to GitHub Pages | |
if: github.event_name == 'push' && contains(fromJson('["refs/heads/main"]'), github.ref) | |
run: mkdocs gh-deploy --force |