Skip to content

Commit

Permalink
Inject username and password via new DSL
Browse files Browse the repository at this point in the history
(cherry picked from commit 378cdd5)
  • Loading branch information
marcphilipp committed Dec 11, 2024
1 parent d671961 commit 500b5a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,5 @@ jobs:
gitPublishPush \
-Dscan.tag.Documentation
env:
GRGIT_USER: ${{ secrets.GH_TOKEN }}
GIT_USERNAME: git
GIT_PASSWORD: ${{ secrets.GH_TOKEN }}
3 changes: 3 additions & 0 deletions documentation/documentation.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ gitPublish {
sign = false
fetchDepth = 1

username = providers.environmentVariable("GIT_USERNAME")
password = providers.environmentVariable("GIT_PASSWORD")

contents {
from(docsDir)
into("docs")
Expand Down

0 comments on commit 500b5a0

Please sign in to comment.