Skip to content

Commit 51762d8

Browse files
authored
Fix docs yaml and signing tasks (#404)
1 parent bd4e0ee commit 51762d8

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
retention-days: 7
133133

134134
deploy:
135-
if: github.event_name == 'workflow_dispatch' && startsWith(github.ref, 'refs/heads/release-') && !inputs.dry_run
135+
if: github.event_name == 'workflow_dispatch' && !inputs.dry_run
136136
environment:
137137
name: github-pages
138138
url: ${{ steps.deployment.outputs.page_url }}
@@ -160,7 +160,7 @@ jobs:
160160
uses: actions/deploy-pages@v4
161161

162162
publish-indexes:
163-
if: github.event_name == 'workflow_dispatch' && startsWith(github.ref, 'refs/heads/release-') && !inputs.dry_run
163+
if: github.event_name == 'workflow_dispatch' && !inputs.dry_run
164164
needs: [ build, test, assemble, deploy ]
165165
runs-on: ubuntu-latest
166166
container:

gradle-conventions/src/main/kotlin/conventions-publishing.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ fun PublishingExtension.configurePublication() {
5858

5959
logger.info("Project ${project.name} -> Publication configured: $name, $version")
6060
}
61-
62-
tasks.withType<PublishToMavenRepository>().configureEach {
63-
dependsOn(tasks.withType<Sign>())
64-
}
6561
}
6662

6763
// we need to configure maven publication for kotlin("jvm") projects manually

0 commit comments

Comments
 (0)