Skip to content

Commit

Permalink
Declare username
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Dec 10, 2024
1 parent 5949c26 commit 801ecf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ jobs:
node-version: '16'
- run: ./gradlew gitPublishPush --no-configuration-cache
env:
GITHUB_USER: ${{ github.repository_owner }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ val yarnBuild = tasks.named("yarn_build") {
gitPublish {
repoUri = "https://github.com/GradleUp/shadow.git"
branch = "gh-pages"
username = providers.environmentVariable("GITHUB_USER")
password = providers.environmentVariable("GITHUB_TOKEN")
contents {
from(yarnBuild)
Expand Down

0 comments on commit 801ecf3

Please sign in to comment.