File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
- # Source:
2
- # - https://github.com/gitpod-io/template-hugo
3
- # - https://www.gitpod.io/docs/configure/workspaces/tasks#one-line-tasks
1
+ # Source: https://github.com/gitpod-io/template-hugo/blob/main/.gitpod.yml
4
2
3
+ # List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
5
4
tasks :
6
- - name : Run development server
7
- init : pnpm install
8
- command : pnpm dev
5
+ - name : Run start up tasks
6
+ before : brew install hugo
7
+ init : pnpm install
8
+ command : hugo server --baseURL $(gp url 1313) --liveReloadPort=443 --appendPort=false --bind=0.0.0.0 --disableFastRender --noHTTPCache --navigateToChanged
9
9
10
+ # List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
10
11
ports :
11
- - port : 1313
12
- onOpen : open-preview
12
+ - port : 1313
13
+ onOpen : open-preview
You can’t perform that action at this time.
0 commit comments