-
Notifications
You must be signed in to change notification settings - Fork 1
/
justfile
54 lines (37 loc) · 877 Bytes
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
set dotenv-load
default: pelican
pelican:
uv run pelican
serve:
uv run pelican --listen --autoreload
upload:
uv run aws s3 sync \
--delete \
output \
s3://ideas.offby1.net
invalidate:
uv run aws cloudfront create-invalidation \
--distribution-id E3HG7SIR4ZZAS1 \
--paths "/*"
prepare_fonts:
rsync -pthrvz \
node_modules/@fortawesome/fontawesome-free/webfonts/ \
themes/offby1/static/webfonts/
build settings="pelicanconf.py": prepare_fonts
uv run pelican --fatal=errors -s {{settings}} -o output content
generate: (build "publishconf.py")
generate-dev: build
publish: generate upload invalidate
compile-deps:
uv lock
update-deps:
uv lock --upgrade
install-deps:
uv sync
deps: compile-deps install-deps
plan:
terraform plan -out plan.just
apply:
terraform apply plan.just
new_post:
uv run invoke new-post