Skip to content

Commit 378cdd5

Browse files
committed
Inject username and password via new DSL
1 parent bc3ea92 commit 378cdd5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: .github/workflows/main.yml

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

Diff for: documentation/documentation.gradle.kts

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

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

0 commit comments

Comments
 (0)