diff --git a/Dockerfile b/Dockerfile index de9e29f..21f5a19 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ LABEL maintainer="sma11black " COPY entrypoint.sh /entrypoint.sh COPY sync_deploy_history.js /sync_deploy_history.js -RUN apt-get update && \ +RUN apt-get update > /dev/null && \ apt-get install -y git openssh-client > /dev/null ; \ chmod +x /entrypoint.sh diff --git a/entrypoint.sh b/entrypoint.sh index a338c13..1e958fd 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -20,7 +20,7 @@ npm install hexo-deployer-git --save NODE_PATH=$NODE_PATH:$(pwd)/node_modules node /sync_deploy_history.js # deployment -if [ "$INPUT_COMMIT_MSG" == "" ] +if [ "$INPUT_COMMIT_MSG" = "" ] then hexo g -d else