Files
docs/justfile
Michael Housh 4ceefed5c1
All checks were successful
CI / release (push) Successful in 5m55s
feat: Reintroduces cache to docker file, adds css build step.
2025-04-03 13:00:16 -04:00

24 lines
457 B
Makefile

articles := "./content/articles"
docker_image := "homelab/docs"
docker_tag := "latest"
shortdate := `date +%F`
[private]
default:
@just --list
# Run the development server.
[group('dev')]
run:
@swift run watch content Sources deploy
new-article name:
@touch {{articles}}/{{shortdate}}-{{name}}.md
@echo {{articles}}/{{shortdate}}-{{name}}.md
alias n := new-article
[group('dev')]
build:
@docker build --tag {{docker_image}}:{{docker_tag}} .