소스 검색

Only publish posts RSS feed

master
Chris Smith 5 년 전
부모
커밋
c02420c45d
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      Dockerfile

+ 2
- 1
Dockerfile 파일 보기

@@ -6,7 +6,8 @@ FROM r.c5h.io/hugo as hugo
6 6
 
7 7
 ADD site /tmp/site
8 8
 RUN hugo -b https://www.chameth.com/ -v -s /tmp/site -d /tmp/hugo && \
9
-	cp /tmp/hugo/index.xml /tmp/hugo/feed.xml
9
+	cp /tmp/hugo/post/index.xml /tmp/hugo/feed.xml && \
10
+	cp /tmp/hugo/post/index.xml /tmp/hugo/index.xml
10 11
 
11 12
 ##
12 13
 ## Step 2 - compress, minify, etc

Loading…
취소
저장