aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2018-01-10 21:27:16 +0800
committerclarkzjw <[email protected]>2018-01-10 21:27:16 +0800
commitbdb862697f8d38844ba8ea103ef00a1cef919493 (patch)
treeb9bc0b954550eadc3da3e8a307d05963c2f92e37 /Dockerfile
parent56dba22d76c8782d8ce3bccb2e4cdffa10c4e4fe (diff)
downloadblog.jinwei.me-bdb862697f8d38844ba8ea103ef00a1cef919493.tar.gz
+ add token
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index a9d4a49..394380e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -27,8 +27,9 @@ WORKDIR /html
27 27
28ENV COMMIT_USER="clarkzjw" 28ENV COMMIT_USER="clarkzjw"
29ENV COMMIT_EMAIL="[email protected]" 29ENV COMMIT_EMAIL="[email protected]"
30ENV GIT_TOKEN=""
30 31
31RUN git clone gi[email protected]:clarkzjw/blog.jinwei.me.git /html && git checkout gh-pages 32RUN git clone https://clarkzjw:GIT_TOKEN@github.com/clarkzjw/blog.jinwei.me.git /html && git checkout gh-pages
32 33
33COPY --from=builder /app/_build/html /html 34COPY --from=builder /app/_build/html /html
34 35
Powered by cgit v1.2.3 (git 2.41.0)