Create .gitpod.yml

This commit is contained in:
Thomas A. Christensen II 2022-10-24 16:18:54 +00:00 committed by GitHub
parent ad136d8c96
commit 3e278eb46b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

13
.gitpod.yml Normal file
View 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