diff --git a/.drone.yml b/.drone.yml index 7a9a7e1..f7ab424 100644 --- a/.drone.yml +++ b/.drone.yml @@ -42,7 +42,7 @@ steps: GIT_LFS_SKIP_SMUDGE: 1 commands: - git clone $DRONE_REMOTE_URL --recurse-submodules . - - git checkout $DRONE_COMMIT + - git checkout $DRONE_BRANCH - name: Test a build image: git.badhouseplants.net/badhouseplants/hugo-builder diff --git a/scripts/upload-media.pl b/scripts/upload-media.pl index 07b066e..f52159f 100755 --- a/scripts/upload-media.pl +++ b/scripts/upload-media.pl @@ -20,7 +20,6 @@ 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";