4 ms·
This is almost line-for-line my setup. I like the CodeBuild solution for the times when I'm editing on my phone or a shared computer. I push to GitHub, and Cod
by ianhowson 9y ago
This is almost line-for-line my setup.
I like the CodeBuild solution for the times when I'm editing on my phone or a shared computer. I push to GitHub, and CodeBuild handles:
* build (as above, plus asset processing and minification)
* deploy (s3 sync, plus some fiddling to add 301 redirects)
* ping search engines
I keep a lot of drafts and temporary notes in my local checkouts and doing build/deploy on a fresh checkout helps to ensure they don't slip onto the public website.
- cirowrc 9y agoHey, thanks for sharing your setup. What's this thing about `ping search engines`?
- tfolbrecht 9y agoTo refresh the crawled cache the search engines have. I've never given it much thought, but I guess it would be refreshed when queried. I will add it to my bash script for funzies. Here's the implementation in the sister comment: https://github.com/thom-nic/jekyll-s3_deploy/blob/master/lib/jekyll/s3_deploy/ping.rb https://github.com/thom-nic/jekyll-s3_deploy/blob/master/lib...