set offline
All checks were successful
Build and publish CMBA rulebooks (Gitea) / build-release (push) Successful in 6s
All checks were successful
Build and publish CMBA rulebooks (Gitea) / build-release (push) Successful in 6s
This commit is contained in:
2
.github/workflows/release-docs.yml
vendored
2
.github/workflows/release-docs.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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]
|
||||||
Reference in New Issue
Block a user