fix 2
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:
5
.github/workflows/release-docs.yml
vendored
5
.github/workflows/release-docs.yml
vendored
@@ -18,11 +18,12 @@ jobs:
|
||||
run: pip install -r mkdocs/requirements.txt
|
||||
- name: Build Docs
|
||||
run: |
|
||||
mkdir $RUNNER_TEMP/dist
|
||||
mkdocs build -f mkdocs/mkdocs.yml -d $RUNNER_TEMP/${{ github.ref_name }}
|
||||
zip -r dist/${{ github.ref_name }}.zip $RUNNER_TEMP/${{ github.ref_name }}
|
||||
zip -r $RUNNER_TEMP/dist/${{ github.ref_name }}.zip $RUNNER_TEMP/${{ github.ref_name }}
|
||||
- name: Release
|
||||
if: ${{ !env.ACT }}
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: |
|
||||
dist/*.zip
|
||||
$RUNNER_TEMP/dist/*.zip
|
||||
Reference in New Issue
Block a user