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")