diff options
author | clarkzjw <[email protected]> | 2018-01-10 21:32:55 +0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2018-01-10 21:32:55 +0800 |
commit | 451a28c3bd01609f0fb79a1ed6d74ea86af3121d (patch) | |
tree | c62403d963639fd55046641917763d305b8b4ef6 | |
parent | 471c861bf18a0296550756501564c84187841f5b (diff) | |
download | blog.jinwei.me-451a28c3bd01609f0fb79a1ed6d74ea86af3121d.tar.gz |
+ fix
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -29,6 +29,8 @@ ENV COMMIT_USER="clarkzjw" | |||
29 | ENV COMMIT_EMAIL="[email protected]" | 29 | ENV COMMIT_EMAIL="[email protected]" |
30 | ARG GIT_TOKEN="" | 30 | ARG GIT_TOKEN="" |
31 | 31 | ||
32 | RUN git config --global user.email $COMMIT_EMAIL && git config --global user.name $COMMIT_USER | ||
33 | |||
32 | RUN git clone https://clarkzjw:[email protected]/clarkzjw/blog.jinwei.me.git /html && git checkout gh-pages | 34 | RUN git clone https://clarkzjw:[email protected]/clarkzjw/blog.jinwei.me.git /html && git checkout gh-pages |
33 | 35 | ||
34 | COPY --from=builder /app/_build/html /html | 36 | COPY --from=builder /app/_build/html /html |