diff --git a/system/upgrade_applications.yaml b/system/upgrade_applications.yaml index fe60df0..7670dfb 100644 --- a/system/upgrade_applications.yaml +++ b/system/upgrade_applications.yaml @@ -11,7 +11,8 @@ tasks: script: "@(system)/upgrade_github_application.yaml" args: settings: $(settings) - gitToken: $(git_token) + gitUsername: $(git_username) + gitPassword: $(git_password) keyfile: $(keyfile) loop: values: $(github) @@ -22,7 +23,8 @@ tasks: script: "@(system)/upgrade_orchestra_application.yaml" args: settings: $(settings) - gitToken: $(git_token) + gitUsername: $(git_username) + gitPassword: $(git_password) keyfile: $(keyfile) loop: values: $(orchestra) diff --git a/system/upgrade_github_application.yaml b/system/upgrade_github_application.yaml index 1d1715a..b5bbe9d 100644 --- a/system/upgrade_github_application.yaml +++ b/system/upgrade_github_application.yaml @@ -78,7 +78,7 @@ tasks: exec: "curl" args: - "--user" - - "juerg.jenzer@jesof.ch:$(decrypt(gitToken,keyfile))" + - "$(decrypr(gitUsername,keyfile)):$(decrypt(gitPassword,keyfile))" - "--upload-file" - "$(tempdir())/$(archive_file)" - "@(git)/api/packages/public/generic/$(settings.name)/$(new_version)/$(package_file)"