From 451a28c3bd01609f0fb79a1ed6d74ea86af3121d Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Wed, 10 Jan 2018 21:32:55 +0800 Subject: + fix --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index ee811b5..997b595 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,8 @@ ENV COMMIT_USER="clarkzjw" ENV COMMIT_EMAIL="hello@jinwei.me" ARG GIT_TOKEN="" +RUN git config --global user.email $COMMIT_EMAIL && git config --global user.name $COMMIT_USER + RUN git clone https://clarkzjw:$GIT_TOKEN@github.com/clarkzjw/blog.jinwei.me.git /html && git checkout gh-pages COPY --from=builder /app/_build/html /html -- cgit v1.2.3