mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 09:46:11 +01:00
Adding a taskfile
This commit is contained in:
parent
8d271d0bc8
commit
3fbb1ead2f
1 changed files with 19 additions and 0 deletions
19
Taskfile.yml
Normal file
19
Taskfile.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# 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
|
Loading…
Reference in a new issue