Migrate to the stack theme
This commit is contained in:
@ -17,6 +17,11 @@ 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;
|
||||
} else {
|
||||
$ENV{'ARGO_APP_NAMESPACE'} = "preview"
|
||||
}
|
||||
$ENV{'ARGO_APP_HOSTNAME'} = "$git_branch-dev.badhouseplants.net";
|
||||
$ENV{'ARGO_APP_IMAGE_TAG'} = $git_commit_sha;
|
||||
$ENV{'ARGO_REMARK_SECRET'} = $remark_secret;
|
||||
|
@ -19,7 +19,7 @@ print `git -C /tmp/$git_commit_sha lfs pull` or die;
|
||||
|
||||
print "Creating a new hashed dir in the common bucket\n";
|
||||
|
||||
print `rclone copy /tmp/$git_commit_sha/src/static "$common_bucket/$git_commit_sha"` or die;
|
||||
print `rclone copy /tmp/$git_commit_sha/src/assets "$common_bucket/$git_commit_sha"` or die;
|
||||
|
||||
if ($git_branch eq $main_branch) {
|
||||
print "Syncing to the production bucket\n";
|
||||
|
Reference in New Issue
Block a user