only trigger for pull_requests and releases
All checks were successful
Build on RHEL9 / build (push) Successful in 3m25s
Build on RHEL8 / build (push) Successful in 4m30s

This commit is contained in:
2026-01-13 18:00:08 +01:00
parent 4c0ed31f11
commit cec900d896

View File

@@ -2,7 +2,6 @@ name: Build and upload Documentation
on:
workflow_dispatch:
push: # Only for Testing change later
pull_request:
branches:
- developer
@@ -88,7 +87,7 @@ jobs:
- name: Copy documentation and Release notes to versioned folder
# if: github.event_name == 'release' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
if: github.event_name == 'release' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
run: |
VERSION="${{ steps.version.outputs.version }}"
mkdir -p "gh-pages/${VERSION}"
@@ -100,7 +99,7 @@ jobs:
fi
- name: Commit and Push changes to gh-pages
# if: github.event_name == 'release' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
if: github.event_name == 'release' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
run: |
cd gh-pages
git config --global user.name 'github-actions'