This commit is contained in:
parent
49552ddd74
commit
df7625579f
@ -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
@ -1 +1 @@
|
||||
Subproject commit 83679c8770185b01ad187d0ba673f0989455eaeb
|
||||
Subproject commit 3dcff448a8516c3b8b1c4b17a78a3873848a22da
|
Loading…
Reference in New Issue
Block a user