diff --git a/.drone.yml b/.drone.yml index 2bf9b8d9f..0d65c0ea7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -766,7 +766,8 @@ steps: - echo "--- Updating the S3 bucket" - export NEW_RPM_ROOT="$BUCKET_MNT/rpm_new" - export OLD_RPM_ROOT="$BUCKET_MNT/rpm_old" - - mv "$TMP_RPM_ROOT" "$NEW_RPM_ROOT" + - cp -r "$TMP_RPM_ROOT" "$NEW_RPM_ROOT" + - rm -rf "$TMP_RPM_ROOT" - mv "$RPM_ROOT" "$OLD_TMP_ROOT" - mv "$NEW_RPM_ROOT" "$RPM_ROOT" - rm -rf "$OLD_TMP_ROOT"