Pārlūkot izejas kodu

Only publish posts RSS feed

master
Chris Smith 5 gadus atpakaļ
vecāks
revīzija
c02420c45d
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2
    1
      Dockerfile

+ 2
- 1
Dockerfile Parādīt failu

@@ -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

Notiek ielāde…
Atcelt
Saglabāt