News for hackers. Stuff that matters.
Re:The good parts of AWS: a visual summary by koolba on Tuesday March 17, 2020 @05:12PM (#22610485)
Add a “set -e” unless you want to publish a failed build.
Re:The good parts of AWS: a visual summary by yingw787 on Tuesday March 17, 2020 @05:23PM (#22610605)
I actually noticed I had a few incorrect dates, about two weeks after I published the posts. One annoying thing about hugo server is that you can't see draft posts timestamped in the future, which makes it hard to schedule things. My stack definitely could use improvement in a real-life production setting :)
Re:The good parts of AWS: a visual summary by earthboundkid on Tuesday March 17, 2020 @09:12PM (#22612590)
There’s a Hugo flag for buildFuture. I have it turned on in Netlify branch deploys and off in prod. ;-)
Re:The good parts of AWS: a visual summary by uffe5 on Tuesday March 17, 2020 @05:26PM (#22610631)
Whether that helps or not depends on how the script is called. Unfortunately. Better to check the result of the command and call exit explicitly if you want to be sure.