Skip to content

Commit 3a45165

Browse files
committed
Update for Gitpod processing
1 parent 3b3869f commit 3a45165

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.gitpod.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
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
42

3+
# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
54
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
99

10+
# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
1011
ports:
11-
- port: 1313
12-
onOpen: open-preview
12+
- port: 1313
13+
onOpen: open-preview

0 commit comments

Comments
 (0)