diff options
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -29,6 +29,8 @@ ENV COMMIT_USER="clarkzjw" | |||
29 | ENV COMMIT_EMAIL="[email protected]" | 29 | ENV COMMIT_EMAIL="[email protected]" |
30 | ARG GIT_TOKEN="" | 30 | ARG GIT_TOKEN="" |
31 | 31 | ||
32 | RUN git config --global user.email $COMMIT_EMAIL && git config --global user.name $COMMIT_USER | ||
33 | |||
32 | RUN git clone https://clarkzjw:[email protected]/clarkzjw/blog.jinwei.me.git /html && git checkout gh-pages | 34 | RUN git clone https://clarkzjw:[email protected]/clarkzjw/blog.jinwei.me.git /html && git checkout gh-pages |
33 | 35 | ||
34 | COPY --from=builder /app/_build/html /html | 36 | COPY --from=builder /app/_build/html /html |