re-enable testing in CI
1 file changed, 3 insertions(+), 2 deletions(-)
jump to
M justfile → justfile
@@ -6,6 +6,7 @@ docker-tag := env_var_or_default("DOCKER_TAG", `date -u +%Y%m%d%H%M%S` + "-" + `git rev-parse --short HEAD`) listen_address := env_var_or_default("SERVER_LISTEN_ADDRESS", "::1") tls_port := env_var_or_default("SERVER_TLS_PORT", "8443") port := env_var_or_default("SERVER_PORT", "8080") +website_repo := env_var_or_default("SOURCE", "../website") default: @just --list --justfile {{ justfile() }} --unsorted@@ -17,7 +18,7 @@ check-licenses: go-licenses check ./... check-links: - hyperlink public --sources content + hyperlink public --sources {{ website_repo }} update-all: nix flake update@@ -25,7 +26,7 @@ go get -u all build *BUILD_FLAGS: templ generate - go run ./cmd/build {{ BUILD_FLAGS }} + SOURCE={{ website_repo }} go run ./cmd/build {{ BUILD_FLAGS }} dev: systemfd -s https::{{ listen_address }}:{{ tls_port }} -s http::{{ listen_address }}:{{ port }} -- modd