blog.ari.lt/scripts/git.sh

14 lines
196 B
Bash
Raw Normal View History

#!/usr/bin/env sh
set -xe
main() {
python3 scripts/blog clean
git add -A
git commit -sam "update @ $(date)"
git push -u origin "$(git rev-parse --abbrev-ref HEAD)"
}
main "$@"