From 3237e400631bcc71fa970557edfde40a658819c5 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Thu, 11 Jan 2018 11:24:13 +0800 Subject: + fix lastmodify --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 169ab1b..be6aae8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,7 @@ RUN git clone https://clarkzjw:$GIT_TOKEN@github.com/clarkzjw/blog.jinwei.me.git COPY --from=builder /app/_build/html /html -RUN echo "`date`" >> /html/.lastmodify && git add -A && git commit -m "`date`" && git push origin gh-pages +RUN echo "`date`" > /html/.lastmodify && git add -A && git commit -m "`date`" && git push origin gh-pages FROM nginx:alpine -- cgit v1.2.3