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 - name: Build Docs
run: | run: |
mkdir $RUNNER_TEMP/dist 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/ cd $RUNNER_TEMP/dist/
zip -r ${{ github.ref_name }}.zip ./${{ github.ref_name }} >> /dev/null && echo "Zipped to ${{ github.ref_name }}.zip" zip -r ${{ github.ref_name }}.zip ./${{ github.ref_name }} >> /dev/null && echo "Zipped to ${{ github.ref_name }}.zip"
- name: Release - name: Release

View File

@@ -45,4 +45,6 @@ plugins:
- enumerate-headings: - enumerate-headings:
toc_depth: 2 toc_depth: 2
exclude: exclude:
- mkdocs/index.md - mkdocs/index.md
- offline:
enabled: !ENV [OFFLINE, false]