diff options
-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 | ||