update deploy.sh

This commit is contained in:
app-harry
2024-10-27 00:08:48 +08:00
parent d33fcf26c9
commit 0f8ad2ba20
2 changed files with 6 additions and 3 deletions

View File

@@ -25,10 +25,8 @@ if Dir.exist?(destination_dir)
puts "Deleted: #{file_path}"
end
end
puts "All files have been removed from #{destination_dir}."
else
FileUtils.mkdir_p(destination_dir)
puts "Directory #{destination_dir} does not exist."
end
# Copy all files and directories while preserving the structure