#!/usr/bin/env bash # Under MIT License, (c) Lilian Besson 2020 # https://bitbucket.org/lbesson/bin/ set -eu set -o pipefail notify-send "Building https://perso.crans.org/besson/ ..." cd ~/web-sphinx/ rm -vf -- ./*coronavirus*.rst~ git add -- ./*coronavirus*.rst git commit -m "Auto updating https://perso.crans.org/besson/ ..." git push && clear make && clear notify-send "Updated https://perso.crans.org/besson/coronavirus.fr.html : YOUPI JE SUIS (ENCORE) VIVANT" echo "Updated https://perso.crans.org/besson/coronavirus.fr.html : YOUPI JE SUIS (ENCORE) VIVANT" | lolcat