Skip to content

Commit 500b5a0

Browse files
committed
Inject username and password via new DSL
(cherry picked from commit 378cdd5)
1 parent d671961 commit 500b5a0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/main.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,5 @@ jobs:
126126
gitPublishPush \
127127
-Dscan.tag.Documentation
128128
env:
129-
GRGIT_USER: ${{ secrets.GH_TOKEN }}
129+
GIT_USERNAME: git
130+
GIT_PASSWORD: ${{ secrets.GH_TOKEN }}

documentation/documentation.gradle.kts

+3
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ gitPublish {
108108
sign = false
109109
fetchDepth = 1
110110

111+
username = providers.environmentVariable("GIT_USERNAME")
112+
password = providers.environmentVariable("GIT_PASSWORD")
113+
111114
contents {
112115
from(docsDir)
113116
into("docs")

0 commit comments

Comments
 (0)