Front website https://natronics.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
477 B

public:
npx hexo generate
favicon.ico: favicon.svg
rsvg-convert -w 16 -h 16 --background-color=none favicon.svg -o favicon-16.png
rsvg-convert -w 32 -h 32 --background-color=none favicon.svg -o favicon-32.png
rsvg-convert -w 64 -h 64 --background-color=none favicon.svg -o favicon-64.png
convert favicon-16.png favicon-32.png favicon-64.png favicon.ico
rm favicon*.png
deploy: public
scp -r public/* natronics.org:/var/www
clean:
rm -rf public
.PHONY: deploy clean