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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 3 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy