Skip to content

Commit

Permalink
Updated hugo version and recommended pinned installation (GoogleCloud…
Browse files Browse the repository at this point in the history
  • Loading branch information
melinath authored and BBBmau committed Nov 5, 2024
1 parent fb2fcbf commit f33d2b3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/repository-documentation-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d # v2.6.0
with:
hugo-version: '0.115.0'
hugo-version: '0.136.5'
extended: true

- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repository-documentation-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d # v2.6.0
with:
hugo-version: '0.115.0'
hugo-version: '0.136.5'
extended: true

- name: Build
Expand Down
5 changes: 4 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ The docsite is generated using [Hugo](https://gohugo.io/) and hosted using Githu

To view locally:

1. [Install Hugo](https://gohugo.io/installation/)
1. Install Hugo v0.136.5
```bash
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/[email protected]
```
2. Run `hugo server` inside the `docs` directory
3. Visit http://localhost:1313/magic-modules/ to view the docs

Expand Down
4 changes: 4 additions & 0 deletions docs/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
module github.com/GoogleCloudPlatform/magic-modules/docs

go 1.23

require (
github.com/alex-shpak/hugo-book v0.0.0-20240518104843-e104a11f42fb
)
2 changes: 2 additions & 0 deletions docs/go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/alex-shpak/hugo-book v0.0.0-20240518104843-e104a11f42fb h1:cP93DhBd5vM1Mt2qOFzhOUvyribG6yuKz6G4nmgyQrw=
github.com/alex-shpak/hugo-book v0.0.0-20240518104843-e104a11f42fb/go.mod h1:L4NMyzbn15fpLIpmmtDg9ZFFyTZzw87/lk7M2bMQ7ds=

0 comments on commit f33d2b3

Please sign in to comment.