Create .gitpod.yml
This commit is contained in:
parent
1a91d53b2d
commit
fe08fdd7bb
1 changed files with 10 additions and 0 deletions
10
.gitpod.yml
Normal file
10
.gitpod.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
|
||||
tasks:
|
||||
- name: Install Hugo dependencies
|
||||
before: brew install hugo
|
||||
init: echo "Your version of Hugo is `hugo version`"
|
||||
command: npm ci && hugo server -D -F --baseUrl $(gp url 1313) --liveReloadPort=443 --appendPort=false --bind=0.0.0.0
|
||||
# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
|
||||
ports:
|
||||
- port: 1313
|
||||
onOpen: open-preview
|
Loading…
Reference in a new issue