mirror of
https://codeberg.org/moonleay/Gimbal.git
synced 2025-04-04 11:44:13 +02:00
ci: moved back
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
46f4bc8289
commit
6442cf57e4
1 changed files with 2 additions and 4 deletions
|
@ -189,12 +189,10 @@ publishing {
|
|||
name = "Codeberg"
|
||||
val repoOwner = System.getenv("GITHUB_REPOSITORY_OWNER")
|
||||
val serverUrl = System.getenv("GITHUB_SERVER_URL")
|
||||
val apiUrl = System.getenv("GITHUB_API_URL")
|
||||
val accessToken = System.getenv("GITHUB_TOKEN")
|
||||
// url = uri("$serverUrl/api/packages/$repoOwner/maven")
|
||||
url = uri("$apiUrl/packages/$repoOwner/maven")
|
||||
url = uri("$serverUrl/api/packages/$repoOwner/maven")
|
||||
authentication {
|
||||
create("header", HttpHeaderAuthentication::class.java) {
|
||||
create("Authorization", HttpHeaderAuthentication::class.java) {
|
||||
credentials(HttpHeaderCredentials::class) {
|
||||
name = "Authorization"
|
||||
value = "token $accessToken"
|
||||
|
|
Loading…
Add table
Reference in a new issue