From 3e278eb46b30acabdb7086780144205349574c04 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Mon, 24 Oct 2022 16:18:54 +0000 Subject: [PATCH] Create .gitpod.yml --- .gitpod.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..ceda606 --- /dev/null +++ b/.gitpod.yml @@ -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