diff options
author | clarkzjw <[email protected]> | 2018-01-11 11:24:13 +0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2018-01-11 11:24:13 +0800 |
commit | 3237e400631bcc71fa970557edfde40a658819c5 (patch) | |
tree | bc5bb9bb362c6ee15a9582777d2acc21df99323f | |
parent | c4fec45b2dd10b232f122be9023677870cc46bc7 (diff) | |
download | blog.jinwei.me-3237e400631bcc71fa970557edfde40a658819c5.tar.gz |
+ fix lastmodify
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ RUN git clone https://clarkzjw:[email protected]/clarkzjw/blog.jinwei.me.git | |||
35 | 35 | ||
36 | COPY --from=builder /app/_build/html /html | 36 | COPY --from=builder /app/_build/html /html |
37 | 37 | ||
38 | RUN echo "`date`" >> /html/.lastmodify && git add -A && git commit -m "`date`" && git push origin gh-pages | 38 | RUN echo "`date`" > /html/.lastmodify && git add -A && git commit -m "`date`" && git push origin gh-pages |
39 | 39 | ||
40 | 40 | ||
41 | FROM nginx:alpine | 41 | FROM nginx:alpine |