mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 15:56:48 +08:00
chore: configure git remotes in nyx config
This commit is contained in:
@@ -4,13 +4,6 @@ releasePrefix: "v"
|
||||
stateFile: build/nyx-state.json
|
||||
scheme: SEMVER
|
||||
|
||||
git:
|
||||
remotes:
|
||||
items:
|
||||
name: "origin"
|
||||
user: "{{#environment.variable}}GH_TOKEN{{/environment.variable}}"
|
||||
password: ""
|
||||
|
||||
changelog:
|
||||
path: build/CHANGELOG.md
|
||||
template: .nyx/CHANGELOG.tpl
|
||||
|
||||
@@ -17,6 +17,12 @@ pluginManagement {
|
||||
plugins { id("com.mooltiverse.oss.nyx") version "1.3.0" }
|
||||
|
||||
extensions.configure<NyxExtension> {
|
||||
git {
|
||||
remotes.register("origin") {
|
||||
user.set("{{#environment.variable}}GH_TOKEN{{/environment.variable}}")
|
||||
password.set("")
|
||||
}
|
||||
}
|
||||
configurationFile.set(".nyx.yml")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user