From 78c78126b8a0f3a666127cc7088844604e6f2456 Mon Sep 17 00:00:00 2001 From: Duncan Wilkie Date: Thu, 21 Sep 2023 18:30:31 -0500 Subject: Testing automatic git ops --- build-n-publish.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'build-n-publish.sh') diff --git a/build-n-publish.sh b/build-n-publish.sh index bcd0cdb..69a8bf0 100755 --- a/build-n-publish.sh +++ b/build-n-publish.sh @@ -49,4 +49,9 @@ cp $root/site/feed.xml $root/gemini/ rsync -r gemini/* root@$remotename:$remotedir ssh root@functorial.xyz "systemctl restart agate" +git add . +echo 'Commit message: ' +read message +git commit -m "$message" +git push -v origin refs/heads/master\:refs/heads/master # TODO: see if committing and pushing interactively here makes sense. -- cgit v1.2.3