Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 20 lines (14 sloc) 357 Bytes
npm cache clear --force
git pull
rm -r _images && mkdir _images
rm -r _albums && mkdir _albums
jekyll build
cd _site/.scripts
rm -rf node_modules && npm install
node update.js
git add ../../images ../../_images ../../_albums
git status
read -p "[Enter] to commit & push, [Ctrl+C] to cancel."
git commit -m "Auto-commit: updated photos"
git push
exit 0