diff options
author | clarkzjw <[email protected]> | 2018-01-10 21:27:16 +0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2018-01-10 21:27:16 +0800 |
commit | bdb862697f8d38844ba8ea103ef00a1cef919493 (patch) | |
tree | b9bc0b954550eadc3da3e8a307d05963c2f92e37 | |
parent | 56dba22d76c8782d8ce3bccb2e4cdffa10c4e4fe (diff) | |
download | blog.jinwei.me-bdb862697f8d38844ba8ea103ef00a1cef919493.tar.gz |
+ add token
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -27,8 +27,9 @@ WORKDIR /html | |||
27 | 27 | ||
28 | ENV COMMIT_USER="clarkzjw" | 28 | ENV COMMIT_USER="clarkzjw" |
29 | ENV COMMIT_EMAIL="[email protected]" | 29 | ENV COMMIT_EMAIL="[email protected]" |
30 | ENV GIT_TOKEN="" | ||
30 | 31 | ||
31 | RUN git clone gi[email protected]:clarkzjw/blog.jinwei.me.git /html && git checkout gh-pages | 32 | RUN git clone https://clarkzjw:GIT_TOKEN@github.com/clarkzjw/blog.jinwei.me.git /html && git checkout gh-pages |
32 | 33 | ||
33 | COPY --from=builder /app/_build/html /html | 34 | COPY --from=builder /app/_build/html /html |
34 | 35 | ||