Skip to content

Commit a6c8416

Browse files
committed
chore: attempt to fix site generation
1 parent ab9abae commit a6c8416

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
with:
8484
branch: gh-pages
8585
force: false
86-
folder: build/gitPublish
86+
folder: build/gitPublish/main
8787
- name: "Authenticate for JD publication"
8888
if: "${{ runner.os == 'Linux' && ((env.STATUS == 'release' && github.event_name == 'release') || (env.STATUS != 'release' && github.event_name != 'release' && (steps.setup.outputs.publishing_branch != ''))) }}"
8989
uses: "tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a" # v2.1.0

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ gitPublish {
5151
if (repo != null) {
5252
repo.remoteList().call().find { config -> config.name == "origin" }?.with { remote ->
5353
repoUri.set((remote.pushURIs.find() ?: remote.URIs.first()).toPrivateString())
54-
referenceRepoUri.set(remote.URIs.first().toPrivateString())
54+
referenceRepoUri.set(project.rootDir.toURI().toString())
5555
}
5656
}
5757

0 commit comments

Comments
 (0)