This commit is contained in:
@@ -15,7 +15,7 @@ export const getPosts = cache(async (): Promise<Post[]> => {
|
||||
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);
|
||||
|
2
posts
2
posts
Submodule posts updated: 83679c8770...3dcff448a8
Reference in New Issue
Block a user