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