forked from kickoke/chronologue-hugo-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
20 lines (18 loc) · 804 Bytes
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
tasks:
- name: Update Modified Time and Setup Environment
init: sudo apt install git-restore-mtime
command: git restore-mtime --force && gpUrl=$(gp url 1313);jq --arg gpurl "$gpUrl" '.["frontMatter.preview.host"] = $gpurl' frontmatter.json > tmp.$$.json && mv tmp.$$.json frontmatter.json
- name: Run Tailwind CSS JIT
init: npm install
command: npx tailwindcss -i ./assets/css/main.css -o ./assets/css/style.css --watch
- name: Run Hugo Dev Server
init: npm install && brew install hugo
command: hugo server -D -F --baseUrl $(gp url 1313) --appendPort=false --liveReloadPort=443 --bind=0.0.0.0
ports:
- port: 1313
onOpen: open-browser
vscode:
extensions:
- bradlc.vscode-tailwindcss
- budparr.language-hugo-vscode
- eliostruyf.vscode-front-matter-beta