mirror of github:amycatgirl/amycatgirl.github.io
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: gracefully handle git commit-ing

Signed-off-by: Amy <amy+git@amogus.cloud>

Amy 1468e085 10bc499b

+5 -3
+5 -3
fallback.lisp
··· 148 148 +max-entries+) :records))) 149 149 (write-to-noscript-block #p"./index.html" 150 150 records) 151 - (git-add "index.html") 152 - (git-commit "chore(ci): generate noscript fallback") 153 - (git-push))) 151 + (unwind-protect 152 + (progn (git-add "index.html") 153 + (git-commit "chore(ci): generate noscript fallback") 154 + (git-push)) 155 + (format t "Either:~%- There were no changes between runs~%-Creating a commit failed for some reason (check git status)~%- Or the current branch doesn't have an upstream~%2~Please try running the publishing steps manually or run the fallback script again"))))