aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2018-01-10 21:32:55 +0800
committerclarkzjw <[email protected]>2018-01-10 21:32:55 +0800
commit451a28c3bd01609f0fb79a1ed6d74ea86af3121d (patch)
treec62403d963639fd55046641917763d305b8b4ef6 /Dockerfile
parent471c861bf18a0296550756501564c84187841f5b (diff)
downloadblog.jinwei.me-451a28c3bd01609f0fb79a1ed6d74ea86af3121d.tar.gz
+ fix
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index ee811b5..997b595 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -29,6 +29,8 @@ ENV COMMIT_USER="clarkzjw"
29ENV COMMIT_EMAIL="[email protected]" 29ENV COMMIT_EMAIL="[email protected]"
30ARG GIT_TOKEN="" 30ARG GIT_TOKEN=""
31 31
32RUN git config --global user.email $COMMIT_EMAIL && git config --global user.name $COMMIT_USER
33
32RUN git clone https://clarkzjw:[email protected]/clarkzjw/blog.jinwei.me.git /html && git checkout gh-pages 34RUN git clone https://clarkzjw:[email protected]/clarkzjw/blog.jinwei.me.git /html && git checkout gh-pages
33 35
34COPY --from=builder /app/_build/html /html 36COPY --from=builder /app/_build/html /html
Powered by cgit v1.2.3 (git 2.41.0)