mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 09:46:11 +01:00
22 lines
464 B
YAML
22 lines
464 B
YAML
# https://taskfile.dev
|
|
|
|
version: '3'
|
|
|
|
# TODO: Handle commands in dotenv
|
|
# dotenv: ['.env']
|
|
|
|
tasks:
|
|
check-links:
|
|
cmds:
|
|
- rm -rf ./public/
|
|
- lychee --cache --suggest --require-https .
|
|
dev:
|
|
cmds:
|
|
- hugo server --minify
|
|
build:
|
|
cmds:
|
|
- hugo --cacheDir /tmp/hugo/cache --minify --baseURL "https://www.byjp.me"
|
|
- npm_config_yes=true npx pagefind@latest
|
|
import:
|
|
cmds:
|
|
- cd ./tools/import/omnivore && go run .
|