Create .gitpod.yml
This commit is contained in:
parent
ad136d8c96
commit
3e278eb46b
1 changed files with 13 additions and 0 deletions
13
.gitpod.yml
Normal file
13
.gitpod.yml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
|
||||||
|
tasks:
|
||||||
|
- name: Install Hugo dependencies
|
||||||
|
before: |
|
||||||
|
mkdir -p $HOME/.local/bin
|
||||||
|
curl -L https://github.com/gohugoio/hugo/releases/download/v0.104.3/hugo_extended_0.104.3_linux-amd64.tar.gz | tar xvz -C $HOME/.local/bin
|
||||||
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
|
init: echo "Your version of Hugo is `hugo version`"
|
||||||
|
command: 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