From 500b5a06b5964a477e65719877653bae0e2496fc Mon Sep 17 00:00:00 2001 From: Marc Philipp Date: Wed, 11 Dec 2024 09:29:06 +0100 Subject: [PATCH] Inject username and password via new DSL (cherry picked from commit 378cdd5adde25ed339f284c22427b0ed13ea39dc) --- .github/workflows/main.yml | 3 ++- documentation/documentation.gradle.kts | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 26fc01510b32..b00b1e6cf74a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -126,4 +126,5 @@ jobs: gitPublishPush \ -Dscan.tag.Documentation env: - GRGIT_USER: ${{ secrets.GH_TOKEN }} + GIT_USERNAME: git + GIT_PASSWORD: ${{ secrets.GH_TOKEN }} diff --git a/documentation/documentation.gradle.kts b/documentation/documentation.gradle.kts index f5f6e1b6391a..189da31bb240 100644 --- a/documentation/documentation.gradle.kts +++ b/documentation/documentation.gradle.kts @@ -108,6 +108,9 @@ gitPublish { sign = false fetchDepth = 1 + username = providers.environmentVariable("GIT_USERNAME") + password = providers.environmentVariable("GIT_PASSWORD") + contents { from(docsDir) into("docs")