louquillio has joined #nanoc
jaspervdj has quit [Ping timeout: 245 seconds]
number-six has quit [Ping timeout: 246 seconds]
jadd_ has quit [Quit: Leaving...]
number-six has joined #nanoc
jaspervdj has joined #nanoc
jadd_ has joined #nanoc
jadd_ has quit [Ping timeout: 252 seconds]
jadd_ has joined #nanoc
whee has quit [*.net *.split]
whee has joined #nanoc
jadd_ has quit [Quit: Leaving...]
jadd_ has joined #nanoc
jadd_ has quit [Quit: Leaving...]
jadd_ has joined #nanoc
jadd_ has quit [Quit: Leaving...]
<
ddfreyne>
guardian: 3 2 1 what?
LeonBo has joined #nanoc
guardian` has joined #nanoc
LBo has quit [*.net *.split]
guardian has quit [*.net *.split]
LeonBo is now known as LBo
jadd_ has joined #nanoc
guardian` is now known as guardian
tracphil has joined #nanoc
Rym has quit [Quit: Rym]
Rym has joined #nanoc
Rym has quit [Quit: Rym]
louquillio has quit [Remote host closed the connection]
<
guardian>
good evening
<
guardian>
hi denis
<
guardian>
quiet day on the channel today
<
ddfreyne>
Indeed. I hung out with friends ;)
<
guardian>
we all did apparently
<
guardian>
today was sunny
jadd_ has joined #nanoc
<
guardian>
ddfreyne: did you ever consider having a postprocess phase in nanoc?
<
bobthecow>
guardian: many many times.
<
guardian>
I'm wondering how I would generate webp versions of images, or png fallbacks for svg, and also .gz files on top of that :)
<
bobthecow>
it's planned.
<
bobthecow>
not sure when it's going to land, but it's planned :)
<
bobthecow>
i currently have a command to static gzip everything.
<
bobthecow>
i run it after compile, and i have an on-deploy check that makes sure i have static gzip assets for everything that should.
<
bobthecow>
could do svg fallback, webp, etc the exact same way.
<
guardian>
my output directory is a git repository on its own
<
guardian>
enables me to really see what changed from last time I pushed online
<
guardian>
and offers a quick revert opportunity in case something goes wrong
<
guardian>
basically I cd output, git add -u, git commit -m "<sha1 of the src>", git push origin master
<
guardian>
then I ssh into my server, and git reset —hard HEAD
<
guardian>
less quick than a single deploy command, yet feels safe
<
bobthecow>
i've been considering writing a git deploy command.
<
bobthecow>
that basically does that.
<
bobthecow>
because that's my workflow for genghisapp.com
<
bobthecow>
and every time, i think "wow, it would be so much easier to run `nanoc; nanoc deploy` instead" :)
<
bobthecow>
in my case i don't do the ssh + reset bit, since i'm deploying to GitHub pages.
<
bobthecow>
but other than that, this is my workflow.
<
guardian>
so that happend with github pages
<
guardian>
I don't use those
<
guardian>
do they have a post-receive hook or sth?
<
bobthecow>
basically, you push to a branch, and it magically becomes your site.
<
bobthecow>
but really, it's nothing like a regular webserver:
<
bobthecow>
(a.k.a. it's really really awesome)
jadd_ has quit [Quit: Leaving...]
<
guardian>
oh I read that last year
<
guardian>
but gonna read again
<
guardian>
going to bed o/ I'll figure out a nanoc command for gziping, webp and else tomorrow :)
<
bobthecow>
g'night.
jadd_ has joined #nanoc
louquillio has joined #nanoc
jadd_ has quit [Quit: Leaving...]
Rym has joined #nanoc
jadd_ has joined #nanoc
jadd_ has quit [Quit: Leaving...]
louquillio has quit [Remote host closed the connection]