Skip to content

Commit

Permalink
Publish snapshots to https://repo.kord.dev/snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
lukellmann committed Jul 29, 2024
1 parent 99c67d7 commit 975ba1e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deployment-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
KORD_TEST_TOKEN: ${{ secrets.KORD_TEST_TOKEN }}
NEXUS_USER: ${{ secrets.NEXUS_USER }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
KORD_REPO_USER: ${{ secrets.KORD_REPO_USER }}
KORD_REPO_PASSWORD: ${{ secrets.KORD_REPO_PASSWORD }}
SIGNING_KEY: ${{ secrets.signingKey }}
SIGNING_PASSWORD: ${{ secrets.signingPassword }}
steps:
Expand Down
11 changes: 11 additions & 0 deletions buildSrc/src/main/kotlin/kord-publishing.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,17 @@ publishing {
password = getenv("NEXUS_PASSWORD")
}
}

if (!isRelease) {
maven {
name = "kordSnapshots"
url = uri("https://repo.kord.dev/snapshots")
credentials {
username = getenv("KORD_REPO_USER")
password = getenv("KORD_REPO_PASSWORD")
}
}
}
}
}

Expand Down

0 comments on commit 975ba1e

Please sign in to comment.