Commit 1b5869f8a8

1b5869f8a857c5bd5e6230a225ecbe6671564116

parent: 0c8cbcd9c0

Unsigned

cmc <hello@cleberg.net> · 2024-07-29 02:22 UTC

suppress excessive build script output

Layout: unified · split

build.sh +6 −5
@@ -5,20 +5,21 @@ read answer
55
66if [ "$answer" != "${answer#[Yy]}" ] ; then
77 if [ "$ENV" == "prod" ]; then
8 echo "Environment = Production" && \
8 echo "Environment: Production" && \
99 rm -rf .build/* && \
10 emacs --script publish.el && \
10 emacs --script publish.el &>/dev/null && \
1111 pandoc -f org -t html readme.org -o readme.html && \
1212 hut git update --readme readme.html --repo \
1313 https://git.sr.ht/\~cyborg/cleberg.net && \
14 rsync -av --delete-before .build/* ubuntu:/var/www/cleberg.net/
14 rsync -r --delete-before .build/* \
15 ubuntu:/var/www/cleberg.net/
1516 else
16 echo "Environment = Development" && \
17 echo "Environment: Development" && \
1718 rm -rf .build/* && \
1819 emacs --script publish.el && \
1920 cd .build/ && \
2021 python3 -m http.server
2122 fi
2223else
23 echo No
24 echo "Please update the 'Recent Blog Posts' section before publishing!"
2425fi