Update deployment process
This commit is contained in:
@@ -10,7 +10,7 @@ step "update-chart" {
|
|||||||
Install-Module -Name powershell-yaml -Confirm:$false -Force
|
Install-Module -Name powershell-yaml -Confirm:$false -Force
|
||||||
|
|
||||||
$template = (Invoke-RestMethod -Headers @{ 'PRIVATE-TOKEN' = ${GITLAB_TOKEN} } -Uri "https://gitlab.com/api/v4/projects/45028985/repository/files/durpapi%2FChart.yaml/raw?ref=main") | ConvertFrom-Yaml
|
$template = (Invoke-RestMethod -Headers @{ 'PRIVATE-TOKEN' = ${GITLAB_TOKEN} } -Uri "https://gitlab.com/api/v4/projects/45028985/repository/files/durpapi%2FChart.yaml/raw?ref=main") | ConvertFrom-Yaml
|
||||||
$template.version = $ENV:VERSION
|
$template.version = $OctopusParameters["Octopus.Release.Number"]
|
||||||
|
|
||||||
$body = @{
|
$body = @{
|
||||||
branch = "main"
|
branch = "main"
|
||||||
|
|||||||
Reference in New Issue
Block a user