commit fa8c5bab5c0ab1f0dbdf3c3f5c7566edd07f2d0f
parent f26c8caf5baead84de415199c734dd447e6512a3
Author: Beau <cbeauhilton@gmail.com>
Date: Thu, 1 Dec 2022 14:31:36 -0600
small change to test build
Diffstat:
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/assets/post-receive-soupault b/assets/post-receive-soupault
@@ -1,6 +1,6 @@
-#!/bin/zsh -e
+#!/bin/zsh
-title='beau hilton'
+title='Beau Hilton'
url='https://beauhilton.com'
dst="/var/www/htdocs/www.beauhilton.com"
@@ -12,6 +12,8 @@ if test -z "${PWD##*.git}"
else repo="$PWD/.git"
fi
+echo $PWD
+
rm -rf "${dst:?}/.files"
rm -rf "$raw"
rm -rf "$src:?"
@@ -21,7 +23,7 @@ echo "${title}" > "$repo/owner"
git clone "$repo" "$raw"
(cd "$raw/.git" && git update-server-info)
-cp -r "$raw/build" "$dst"
+cp -r $raw/build/** "$dst"
mkdir -p "$src"
(cd "$src" && stagit "$repo")