Update Makefile

This commit is contained in:
Norbert Tretkowski 2025-05-15 17:47:23 +02:00
parent 617c3c5698
commit 1300ddf3da
Signed by: norbert
GPG key ID: EAA31A3693AAB231

View file

@ -1,4 +1,3 @@
#!/home/norbert/.local/bin/make
all: all:
rm -rf public rm -rf public
hugo --ignoreCache hugo --ignoreCache
@ -8,5 +7,4 @@ all:
sed -i s/page\ not\ found/Seite\ nicht\ erlaubt/ public/401.html sed -i s/page\ not\ found/Seite\ nicht\ erlaubt/ public/401.html
sed -i s/page\ not\ found/Seite\ nicht\ gefunden/ public/404.html sed -i s/page\ not\ found/Seite\ nicht\ gefunden/ public/404.html
rm .hugo_build.lock rm .hugo_build.lock
#rsync -avP --delete public/ draco:html/
rsync -avP --delete public/ rollcage:docker/nginx/html/ rsync -avP --delete public/ rollcage:docker/nginx/html/