summaryrefslogtreecommitdiff
path: root/source/_posts/publishing_jigsaw_posts_with_netlify_build_hooks.md
diff options
context:
space:
mode:
Diffstat (limited to 'source/_posts/publishing_jigsaw_posts_with_netlify_build_hooks.md')
-rw-r--r--source/_posts/publishing_jigsaw_posts_with_netlify_build_hooks.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/_posts/publishing_jigsaw_posts_with_netlify_build_hooks.md b/source/_posts/publishing_jigsaw_posts_with_netlify_build_hooks.md
index 9268d6f..0587dec 100644
--- a/source/_posts/publishing_jigsaw_posts_with_netlify_build_hooks.md
+++ b/source/_posts/publishing_jigsaw_posts_with_netlify_build_hooks.md
@@ -7,7 +7,7 @@ description: How I use Netlify build hooks to automatically publish scheduled po
tags: [Netlify]
---
-A [previous post](/posts/scheduling-posts-in-jigsaw) talks about how I use [Jigsaw's](https://jigsaw.tighten.co) filtering to schedule future posts. However because Jigsaw is a static site builder I have to run Jigsaw in order to generate the HTML for the site. So if for example I have scheduled three posts to be published over three consecutive weeks I would need to build and deploy the site on each of the scheduled dates in order for the posts to be published. This kind of defeats the point of scheduling posts. So what I needed was some way to automatically trigger new builds of the site and since I use [Netlify](https://www.netlify.com/) to host the site I can make use of their build hooks to do this.
+A [previous post](/posts/scheduling-posts-in-jigsaw/) talks about how I use [Jigsaw's](https://jigsaw.tighten.co) filtering to schedule future posts. However because Jigsaw is a static site builder I have to run Jigsaw in order to generate the HTML for the site. So if for example I have scheduled three posts to be published over three consecutive weeks I would need to build and deploy the site on each of the scheduled dates in order for the posts to be published. This kind of defeats the point of scheduling posts. So what I needed was some way to automatically trigger new builds of the site and since I use [Netlify](https://www.netlify.com/) to host the site I can make use of their build hooks to do this.
For those that don't know [build hooks](https://docs.netlify.com/configure-builds/build-hooks/) are URLs you can use to trigger new builds and deployments in Netlify. By making a HTTP POST request to a URL, Netlify will pull down the latest master branch of your site, build it, and then deploy it.