Use Prettier on the output we deploy
Just as like, an extra little step in case people decide to View Source our blog. Doesn't really matter! But hey, feels polite all else equal! (The main thing I noticed is the indentation, which is always a mess in templating systems like Liquid with injecting content into layouts.)
This commit is contained in:
parent
5458fc8e8d
commit
74cea901d6
2 changed files with 40 additions and 37 deletions
|
@ -1,2 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
bundle exec jekyll build
|
||||||
|
npx prettier@3.3.3 -w --ignore-path= _site
|
||||||
sftp blog.openneo.net <<< 'put -r _site/* /srv/blog.openneo.net'
|
sftp blog.openneo.net <<< 'put -r _site/* /srv/blog.openneo.net'
|
||||||
|
|
Loading…
Reference in a new issue