mirror of
https://codeberg.org/moonleay/Gimbal.git
synced 2025-04-04 11:44:13 +02:00
ci: changed to token to header
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
888d8f3f11
commit
3f8673cadb
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ publishing {
|
|||
val serverUrl = System.getenv("GITHUB_SERVER_URL")
|
||||
url = uri("$serverUrl/api/packages/$repoOwner/maven")
|
||||
authentication {
|
||||
create("token", HttpHeaderAuthentication::class.java) {
|
||||
create("header", HttpHeaderAuthentication::class.java) {
|
||||
val accessToken = System.getenv("GITHUB_TOKEN")
|
||||
credentials(HttpHeaderCredentials::class.java) {
|
||||
name = "Authorization"
|
||||
|
|
Loading…
Add table
Reference in a new issue