File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,13 +27,31 @@ jobs:
2727 steps :
2828 - name : Checkout
2929 uses : actions/checkout@v4
30+ with :
31+ submodules : recursive # Fetch Hugo themes
32+ fetch-depth : 0 # Fetch all history for .GitInfo and .Lastmod
33+
34+ - name : Setup Go
35+ uses : actions/setup-go@v5
36+ with :
37+ go-version : ' 1.23'
38+
39+ - name : Install Hugo
40+ run : |
41+ cd hack/internal/tools && GOBIN=$GITHUB_WORKSPACE/bin CGO_ENABLED=1 go install -tags extended github.com/gohugoio/[email protected] 42+ echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH
43+
44+ - name : Build Hugo site
45+ working-directory : ./site
46+ run : $GITHUB_WORKSPACE/bin/hugo --minify --baseURL https://docs.sglang.ai/ome/
3047
3148 - name : Setup Pages
3249 uses : actions/configure-pages@v4
3350
3451 - name : Upload artifact
3552 uses : actions/upload-pages-artifact@v3
3653 with :
54+ # Upload the built public directory
3755 path : ' ./site/public'
3856
3957 # Deployment job
You can’t perform that action at this time.
0 commit comments