Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sma11black committed Sep 3, 2020
1 parent 9ee7e16 commit 1fd0675
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ LABEL maintainer="sma11black <[email protected]>"
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

Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1fd0675

Please sign in to comment.