diff --git a/Makefile b/Makefile deleted file mode 100644 index aabd39e1..00000000 --- a/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -SHELL := bash -.SHELLFLAGS := -eu -o pipefail -c -.DELETE_ON_ERROR: -MAKEFLAGS += --warn-undefined-variables -MAKEFLAGS += --no-builtin-rules - -ifeq ($(origin .RECIPEPREFIX), undefined) - $(error This Make does not support .RECIPEPREFIX. Please use GNU Make 4.0 or later) -endif -.RECIPEPREFIX = > - -build: clean -> npm ci -> hugo --minify - -clean: -> rm -rf public/ - -## server: run server locally on port 1313 and open in a browser -server: -> hugo server --buildDrafts - - -## help: Print this help message -help: -> @echo -> @echo "Usage:" -> @echo -> @sed -n 's/^##//p' ${MAKEFILE_LIST} | column -t -s ':' | sed -e 's/^/ /' | sort -> @echo -.PHONY: help diff --git a/content/blog/setting-up-gitea-actions-with-tailscale/index.md b/content/blog/setting-up-gitea-actions-with-tailscale/index.md index 488bf44d..60ccb01f 100644 --- a/content/blog/setting-up-gitea-actions-with-tailscale/index.md +++ b/content/blog/setting-up-gitea-actions-with-tailscale/index.md @@ -94,7 +94,7 @@ Note that you must specify a `TS_AUTHKEY` in the `ts-gitea` service. You can gen "${TS_CERT_DOMAIN}:443": { "Handlers": { "/": { "Proxy": "http://127.0.0.1:3000" } } }, }, - "AllowFunnel": { "${TS_CERT_DOMAIN}:443": false }, + "AllowFunnel": { "${TS_CERT_DOMAIN}:443": false } } ``` diff --git a/justfile b/justfile new file mode 100644 index 00000000..3c63c4f5 --- /dev/null +++ b/justfile @@ -0,0 +1,9 @@ +build: clean + npm ci + hugo --minify + +clean: + rm -rf public/ + +server: + hugo server --buildDrafts