Adding compile command to publish

This commit is contained in:
Siina Mashek 2024-02-28 09:31:26 +02:00
parent befe646d68
commit 433dee312d

View file

@ -7,7 +7,7 @@ timestamp=$(date +%H:%M:%S)
current_note="$site_dir/notes/${current_date}.txt" current_note="$site_dir/notes/${current_date}.txt"
publish () { publish () {
cd $site_dir && make push publish cd $site_dir && make compile push publish
} }
if [ -z "$1" ]; then if [ -z "$1" ]; then