diff options
| author | Christian Cleberg <[email protected]> | 2024-07-28 21:22:23 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2024-07-28 21:22:23 -0500 |
| commit | 1b5869f8a857c5bd5e6230a225ecbe6671564116 (patch) | |
| tree | d3b20144ba314e63ad067ab553e461948b91c4c7 | |
| parent | 0c8cbcd9c05cc3a46aa649690968c915b9a80f4c (diff) | |
| download | cleberg.net-1b5869f8a857c5bd5e6230a225ecbe6671564116.tar.gz cleberg.net-1b5869f8a857c5bd5e6230a225ecbe6671564116.tar.bz2 cleberg.net-1b5869f8a857c5bd5e6230a225ecbe6671564116.zip | |
suppress excessive build script output
| -rwxr-xr-x | build.sh | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -5,20 +5,21 @@ read answer if [ "$answer" != "${answer#[Yy]}" ] ; then if [ "$ENV" == "prod" ]; then - echo "Environment = Production" && \ + echo "Environment: Production" && \ rm -rf .build/* && \ - emacs --script publish.el && \ + emacs --script publish.el &>/dev/null && \ pandoc -f org -t html readme.org -o readme.html && \ hut git update --readme readme.html --repo \ https://git.sr.ht/\~cyborg/cleberg.net && \ - rsync -av --delete-before .build/* ubuntu:/var/www/cleberg.net/ + rsync -r --delete-before .build/* \ + ubuntu:/var/www/cleberg.net/ else - echo "Environment = Development" && \ + echo "Environment: Development" && \ rm -rf .build/* && \ emacs --script publish.el && \ cd .build/ && \ python3 -m http.server fi else - echo No + echo "Please update the 'Recent Blog Posts' section before publishing!" fi |
