diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index ca7544379..7e56ddb36 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -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'