aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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)