From 6026d8ba3e2a6f428c751d1fbd7d408aeb94e03b Mon Sep 17 00:00:00 2001 From: Sasha Date: Thu, 16 Nov 2023 16:01:09 +1300 Subject: [PATCH] GIT commit and push docs --- .github/workflows/ubuntodotnet.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) 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: