DEVELOPMENT ENVIRONMENT

~liljamo/liljamo-dev-zola

ref: 3d2750f49f0db1a9239b7364fa7a1382da849432 liljamo-dev-zola/justfile -rw-r--r-- 496 bytes
3d2750f4Jonni Liljamo feat: build changes, justfile, nix package, direnv 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
_default:
    just --list

build:
    tailwindcss -i ./css/style.css -o ./static/css/style.css --minify
    zola build

build-docker-and-push:
    #!/usr/bin/env sh
    export COMMIT=$(git log -1 --pretty=%h)
    podman build -f docker/Dockerfile -t oci:5000/liljamo/liljamo-dev-zola:latest -t oci:5000/liljamo/liljamo-dev-zola:"$COMMIT" .
    podman push --tls-verify=false oci:5000/liljamo/liljamo-dev-zola:latest
    podman push --tls-verify=false oci:5000/liljamo/liljamo-dev-zola:"$COMMIT"