From 64a6df92e78889d5a8d165d7ddc8445d0795aabe Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Mon, 30 Aug 2021 14:18:54 +0700 Subject: [PATCH] Add all files when deploy --- docs/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Makefile b/docs/Makefile index 0f3336f0..5be24dc2 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -19,6 +19,7 @@ deploy: git worktree add /tmp/book gh-pages cp -rp book/* /tmp/book/ cd /tmp/book \ - && git commit --all --message "Updates" || echo "No changes to commit" \ + && git add . \ + && git commit --message "Updates" || echo "No changes to commit" \ && git push git worktree remove /tmp/book