fix not releasing
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:
9
.github/workflows/release-docs.yml
vendored
9
.github/workflows/release-docs.yml
vendored
@@ -15,14 +15,15 @@ jobs:
|
||||
with:
|
||||
python-version: '3.13'
|
||||
- name: Install Dependencies
|
||||
run: pip install -r mkdocs/requirements.txt
|
||||
run: pip install -r mkdocs/requirements.txt >> /dev/null && echo "Done."
|
||||
- name: Build Docs
|
||||
run: |
|
||||
mkdir $RUNNER_TEMP/dist
|
||||
mkdocs build -f mkdocs/mkdocs.yml -d $RUNNER_TEMP/${{ github.ref_name }}
|
||||
zip -r $RUNNER_TEMP/dist/${{ github.ref_name }}.zip $RUNNER_TEMP/${{ github.ref_name }}
|
||||
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
|
||||
if: ${{ !env.ACT }}
|
||||
if: ${{ vars.SKIP_RELEASE != 'true' }}
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: |
|
||||
|
||||
Reference in New Issue
Block a user