diff options
| -rwxr-xr-x | ssg | 8 | 
1 files changed, 4 insertions, 4 deletions
| @@ -5,7 +5,7 @@  set -xe -media_branch="media" +SSG_STATIC_BRANCH="static"  src_files="$(__list_files ${SSG_SRC_DIR})"  dirs="${SSG_MEDIA_DIR} \  	${SSG_SRC_DIR} \ @@ -23,7 +23,7 @@ for src_file in ${src_files}; do  done  # Copy images -if git rev-parse --verify media; then -	git restore --source="${media_branch}" --worktree "img" -	mv "img" "out" +if git rev-parse --verify "${SSG_STATIC_BRANCH}"; then +	git restore --source="${SSG_STATIC_BRANCH}" --worktree "static" +	mv "static" "out"  fi |