From fbd80b01b40c709308beb05c0d206395af3a7c26 Mon Sep 17 00:00:00 2001 From: Volodymyr Savchenko Date: Wed, 14 Feb 2024 11:17:52 +0100 Subject: [PATCH] cleanip --- Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 58d73b2..6271af7 100644 --- a/Makefile +++ b/Makefile @@ -8,13 +8,14 @@ publish: ontology ( \ - hugo; \ - cp public/ontology/index-en.html public/ontology/index.html ; \ - git clone git@github.com:oda-hub/oda-hub.github.io/; \ - rsync -av public/ oda-hub.github.io/; \ - cd oda-hub.github.io/; \ - git add *; \ - git commit -a -m "update"; \ + hugo && \ + cp public/ontology/index-en.html public/ontology/index.html && \ + rm -rfv oda-hub.github.io && \ + git clone git@github.com:oda-hub/oda-hub.github.io/&& \ + rsync -av public/ oda-hub.github.io/ && \ + cd oda-hub.github.io/ && \ + git add * && \ + git commit -a -m "update" && \ git push)