Przeglądaj źródła

Only publish posts RSS feed

master
Chris Smith 5 lat temu
rodzic
commit
c02420c45d
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2
    1
      Dockerfile

+ 2
- 1
Dockerfile Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz