changed so were not building twice
This commit is contained in:
+2
-6
@@ -20,12 +20,8 @@ RUN echo $TINA_TOKEN
|
|||||||
# install tina cms
|
# install tina cms
|
||||||
RUN npx @tinacms/cli@latest
|
RUN npx @tinacms/cli@latest
|
||||||
|
|
||||||
# build Tina
|
# build Tina and generate minifed hugo files
|
||||||
RUN tinacms build &&
|
RUN tinacms build && hugo --minify
|
||||||
|
|
||||||
# Hugo generates the static files and minifies them
|
|
||||||
RUN hugo --minify
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Nginx image is as basic as we can get
|
# Nginx image is as basic as we can get
|
||||||
|
|||||||
Reference in New Issue
Block a user