Update 2023-01-07 15:07 OpenBSD/amd64
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user