Update 2023-01-07 15:07 OpenBSD/amd64

This commit is contained in:
c0dev0id
2023-01-07 15:07:46 +01:00
parent 6a461712ba
commit b7bb393834
6 changed files with 67 additions and 16 deletions

View File

@@ -90,6 +90,16 @@ case "$imagedescr" in
[yY]) edit_template "${gallerydir}/${_name}.txt"; ;;
esac
cd "${HOME}/website/photos"
git pull
find . -type f \
-not -name "*.html" \
-not -path "*/mid/*" \
-not -path "*/thm/*" \
-exec git add {} +
git commit -m "Adding ${_name} to ${gallerydir}"
git push
echo -n "Regenerate Website? [y/N]: "
read -r regen