Still trying to fixed the submodule issue
This commit is contained in:
parent
0bcb45bc5f
commit
5b9ffb9315
2 changed files with 3 additions and 7 deletions
|
@ -1,6 +1,3 @@
|
|||
.git
|
||||
.gitignore
|
||||
.gitmodules
|
||||
.hugo_build.lock
|
||||
public/
|
||||
resources/
|
||||
|
|
|
@ -7,9 +7,8 @@ RUN apk add --no-cache hugo git
|
|||
# Copy the repository contents
|
||||
COPY . .
|
||||
|
||||
# Initialize and update submodules
|
||||
RUN git submodule init
|
||||
RUN git submodule update --init --recursive
|
||||
# Initialize submodules
|
||||
RUN git submodule update --init
|
||||
|
||||
# Build the site
|
||||
RUN hugo --minify
|
||||
|
|
Loading…
Add table
Reference in a new issue