git clone sso://partner-code/go.dev && (cd go.dev && f=`git rev-parse --git-dir`/hooks/commit-msg ; mkdir -p $(dirname $f) ; curl -Lo $f https://gerrit-review.googlesource.com/tools/hooks/commit-msg ; chmod +x $f)
data/learn
contains links for the Learn pages, as all content is currently external.content/solutions
contains Use Cases and Case Studies.name
attribute for images.themes/default
contains the site layout.Go.dev uses Hugo to serve the frontend client.
To build using the Dockerfile.hugo image:
docker build -t hugo -f Dockerfile.hugo .
Then run and serve locally
docker run -v $(pwd):/src -p 1313:1313 -t -i hugo serve --bind 0.0.0.0 -s /src
All commits targeting master
will trigger a CI test defined in cloudbuild.ci.yaml
. All commits pushed to master
will be automatically deployed to https://dev.go.dev.
https://partner-code.git.corp.google.com/go.dev
hugo server -D
git push -f origin HEAD:staging
messaging-components