From b6a627391a2f0c635a71986cfd51abfd2967a870 Mon Sep 17 00:00:00 2001 From: khs1994 Date: Wed, 8 Nov 2017 16:58:23 +0800 Subject: [PATCH] Update --- alpine/docker-entrypoint.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/alpine/docker-entrypoint.sh b/alpine/docker-entrypoint.sh index 07e3330..7104d6b 100755 --- a/alpine/docker-entrypoint.sh +++ b/alpine/docker-entrypoint.sh @@ -17,18 +17,17 @@ echo $PWD main(){ ./node_modules/hexo/bin/hexo version ./node_modules/hexo/bin/hexo g + cp -a public ../hexo-src/ case $1 in deploy ) ./node_modules/hexo/bin/hexo d ;; server ) ./node_modules/hexo/bin/hexo server - exit 0 ;; - esac - cp -a public ../hexo-src/ + esac echo $START date "+%F %T" } -main +main $1 $2 $3