mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-12-15 10:26:44 +00:00
update hexo
This commit is contained in:
@@ -5,8 +5,8 @@ git config --global user.email $GIT_EMAIL
|
||||
git config --global user.name $GIT_NAME
|
||||
|
||||
# init hexo if dir is empty
|
||||
if ! [ "$(ls -A blog)" ]; then
|
||||
hexo init blog && npm install blog
|
||||
if ! [ "$(ls -A ./ )" ]; then
|
||||
hexo init && npm install
|
||||
fi
|
||||
|
||||
# run hexo as production / developemnt mode
|
||||
|
||||
Reference in New Issue
Block a user