Migrate to the stack theme

This commit is contained in:
2024-02-13 15:33:11 +01:00
parent b98dc56fb3
commit b2b29a6f0f
143 changed files with 297 additions and 1363 deletions

View File

@ -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;

View File

@ -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";