Skip to content

Commit c87e02a

Browse files
authored
Merge pull request #479 from sgfost/remove-hugo-mod-get
build: remove `hugo mod get` step
2 parents 7270bb9 + 94c821b commit c87e02a

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

.github/workflows/gh-pages.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ jobs:
3737
HUGO_ENV: "production"
3838
run: |
3939
npm install
40-
hugo mod get
4140
hugo --minify --gc
4241
4342
- name: Deploy to Pages

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ COPY . /src/
1111

1212
RUN git config --global --add safe.directory /src
1313

14-
RUN hugo mod get
1514
RUN npm install
1615

1716
CMD ["server"]

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ If you don't have docker installed and don't mind installing things in your oper
4040
- Use hugo commands and npm to build/render the site.
4141

4242
```bash
43-
% hugo mod get
4443
% npm install
4544
% hugo serve # dev server without drafts
4645
# OR

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ module github.com/openmodelingfoundation/openmodelingfoundation.github.io
22

33
go 1.18
44

5-
require github.com/google/docsy v0.11.0 // indirect
5+
require github.com/google/docsy v0.11.0
6+
7+
require github.com/google/docsy/dependencies v0.7.2 // indirect

go.sum

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1+
github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
12
github.com/FortAwesome/Font-Awesome v0.0.0-20240716171331-37eff7fa00de/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
23
github.com/google/docsy v0.11.0 h1:QnV40cc28QwS++kP9qINtrIv4hlASruhC/K3FqkHAmM=
34
github.com/google/docsy v0.11.0/go.mod h1:hGGW0OjNuG5ZbH5JRtALY3yvN8ybbEP/v2iaK4bwOUI=
5+
github.com/google/docsy/dependencies v0.7.2 h1:+t5ufoADQAj4XneFphz4A+UU0ICAxmNaRHVWtMYXPSI=
6+
github.com/google/docsy/dependencies v0.7.2/go.mod h1:gihhs5gmgeO+wuoay4FwOzob+jYJVyQbNaQOh788lD4=
7+
github.com/twbs/bootstrap v5.2.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
48
github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=

0 commit comments

Comments
 (0)