diff --git a/lib/getPosts.tsx b/lib/getPosts.tsx index 8a2d78a..3a1cf21 100644 --- a/lib/getPosts.tsx +++ b/lib/getPosts.tsx @@ -15,7 +15,7 @@ export const getPosts = cache(async (): Promise => { const updatePosts = async () => { return new Promise((resolve, reject) => { exec( - `(cd ${process.env.POSTS_DIR}; git pull --rebase)`, + `(cd ${process.env.POSTS_DIR}; git pull --rebase || true)`, (error, stdout, stderr) => { if (error) { console.warn(error); diff --git a/posts b/posts index 83679c8..3dcff44 160000 --- a/posts +++ b/posts @@ -1 +1 @@ -Subproject commit 83679c8770185b01ad187d0ba673f0989455eaeb +Subproject commit 3dcff448a8516c3b8b1c4b17a78a3873848a22da