From 95aba20938ed228ef588b1cc3920f2aa9e644313 Mon Sep 17 00:00:00 2001 From: jaguililla Date: Mon, 26 Aug 2024 18:56:30 +0200 Subject: [PATCH] Implement multiple site versions --- .github/workflows/release.yml | 1 + .github/workflows/site.yml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e63eb6965..7d36d9798c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,6 +31,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | export REMOTE="https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY.git" + export GIT_COMMITTER_NAME="${GITHUB_ACTOR}" git remote set-url origin "$REMOTE" ./gradlew build ./gradlew -x build buildSite diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index be3d025492..6d87a8153c 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -58,7 +58,9 @@ jobs: - env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: ./gradlew --stacktrace -x build buildSite + run: | + export GIT_COMMITTER_NAME="${GITHUB_ACTOR}" + ./gradlew --stacktrace -x build buildSite - if: ${{ inputs.check_directory != '' }} run: ls -AlF "${{ inputs.check_directory }}"