Fix deployment
This commit is contained in:
@ -18,9 +18,9 @@ chomp($remark_secret);
|
||||
$ENV{'ARGO_APP_CHART_VERSION'} = $chart_version;
|
||||
$ENV{'ARGO_APP_BRANCH'} = $git_branch;
|
||||
if ($git_branch eq $main_branch) {
|
||||
$ENV{'ARGO_APP_NAMESPACE'} = $git_branch;
|
||||
$ENV{'ARGO_APP_NAMESPACE'} = "production";
|
||||
} else {
|
||||
$ENV{'ARGO_APP_NAMESPACE'} = "preview"
|
||||
$ENV{'ARGO_APP_NAMESPACE'} = "development"
|
||||
}
|
||||
$ENV{'ARGO_APP_HOSTNAME'} = "$git_branch-dev.badhouseplants.net";
|
||||
$ENV{'ARGO_APP_IMAGE_TAG'} = $git_commit_sha;
|
||||
@ -72,4 +72,3 @@ foreach my $app (@all_applications) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user