summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xssg8
1 files changed, 4 insertions, 4 deletions
diff --git a/ssg b/ssg
index 8253b52..2574b7b 100755
--- a/ssg
+++ b/ssg
@@ -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
remember that computers suck.