diff --git a/.github/workflows/ubuntodotnet.yml b/.github/workflows/ubuntodotnet.yml index 5c161ee..be97442 100644 --- a/.github/workflows/ubuntodotnet.yml +++ b/.github/workflows/ubuntodotnet.yml @@ -6,11 +6,20 @@ name: .NET #on: pull_request_target on: - push: - branches: - - main pull_request_target: branches: [ "TestRuns" ] + + - name: GIT commit and push docs + env: + CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts + CI_COMMIT_AUTHOR: Continuous Integration + run: | + git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" + git config --global user.email "username@users.noreply.github.com" + git add docs + git commit -m "${{ env.CI_COMMIT_MESSAGE }}" + git push + jobs: build: