From beefd5540f7188aa50ad9efa6b5af4e6307fa0a2 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Wed, 26 Apr 2023 07:15:34 +0200 Subject: [PATCH] Debug on production --- scripts/upload-media.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upload-media.pl b/scripts/upload-media.pl index f52159f..07b066e 100755 --- a/scripts/upload-media.pl +++ b/scripts/upload-media.pl @@ -20,6 +20,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/static "$common_bucket/$git_commit_sha"` or die; +print $git_branch; if ($git_branch eq $main_branch) { print "Syncing to the production bucket\n";