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
|
||||
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
|
||||
|
||||
@@ -46,3 +46,5 @@ plugins:
|
||||
toc_depth: 2
|
||||
exclude:
|
||||
- mkdocs/index.md
|
||||
- offline:
|
||||
enabled: !ENV [OFFLINE, false]
|
||||
Reference in New Issue
Block a user