Browse Source

Only publish posts RSS feed

master
Chris Smith 5 years ago
parent
commit
c02420c45d
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      Dockerfile

+ 2
- 1
Dockerfile View File

6
 
6
 
7
 ADD site /tmp/site
7
 ADD site /tmp/site
8
 RUN hugo -b https://www.chameth.com/ -v -s /tmp/site -d /tmp/hugo && \
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
 ## Step 2 - compress, minify, etc
13
 ## Step 2 - compress, minify, etc

Loading…
Cancel
Save