Skip to content

Commit

Permalink
Inject username and password via new DSL
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Dec 11, 2024
1 parent bc3ea92 commit 378cdd5
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 @@ -127,4 +127,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 @@ -109,6 +109,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 378cdd5

Please sign in to comment.