fix folder_create step not ran
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Mathieu Broillet 2023-06-21 10:45:00 +02:00
parent bffeb92008
commit e09f768736
No known key found for this signature in database
GPG Key ID: 7D4F25BC50A0AA32

View File

@ -158,7 +158,7 @@ def run_steps(lxc: LXC):
lxc.create_file(step["path"], step.get("permission", 644), step.get("owner", "root"))
case "file_copy":
lxc.pve.copy_file_to_lxc(lxc, get_path(lxc, step["path"]), step["destination"])
case "folder":
case "folder_create":
lxc.create_directory(step["path"], step.get("permission", 755), step.get("owner", "root"))
case "folder_copy":
lxc.pve.copy_folder_to_lxc(lxc, get_path(lxc, step["path"]), step["destination"])