diff options
Diffstat (limited to 'bin/ssg')
-rwxr-xr-x | bin/ssg | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -21,6 +21,8 @@ for src_file in ${src_files}; do __handle "${src_file}" done +# Copy images if git rev-parse media; then - git --work-tree="${out_dir}" checkout "${media_branch}" "${media_dir}" + git restore --source=media --worktree "img" + mv "img" "out" fi |