set offline
All checks were successful
Build and publish CMBA rulebooks (Gitea) / build-release (push) Successful in 6s

This commit is contained in:
2026-01-16 16:28:41 -06:00
parent 2f262ab734
commit 2d82ee8fe6
2 changed files with 4 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ jobs:
- name: Build Docs
run: |
mkdir $RUNNER_TEMP/dist
mkdocs build -f mkdocs/mkdocs.yml -d $RUNNER_TEMP/dist/${{ github.ref_name }}
OFFLINE=true mkdocs build -f mkdocs/mkdocs.yml -d $RUNNER_TEMP/dist/${{ github.ref_name }}
cd $RUNNER_TEMP/dist/
zip -r ${{ github.ref_name }}.zip ./${{ github.ref_name }} >> /dev/null && echo "Zipped to ${{ github.ref_name }}.zip"
- name: Release

View File

@@ -46,3 +46,5 @@ plugins:
toc_depth: 2
exclude:
- mkdocs/index.md
- offline:
enabled: !ENV [OFFLINE, false]