mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-10-06 09:26:02 +00:00
Compare commits
2 Commits
e89222a64e
...
2902f5735b
Author | SHA1 | Date | |
---|---|---|---|
|
2902f5735b | ||
|
54de6a38c8 |
31
Makefile
31
Makefile
@@ -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
|
|
@@ -15,7 +15,7 @@ If you would like to connect with me:
|
|||||||
- [Mastodon](https://mastodon.social/@davegallant)
|
- [Mastodon](https://mastodon.social/@davegallant)
|
||||||
- [GitHub](https://github.com/davegallant)
|
- [GitHub](https://github.com/davegallant)
|
||||||
- [RSS Feed](https://davegallant.ca/index.xml)
|
- [RSS Feed](https://davegallant.ca/index.xml)
|
||||||
- [git.davegallant.ca](https://git.davegallant.ca/explore/repos)
|
- [gitea.snake-cloud.ts.net](https://gitea.snake-cloud.ts.net/explore/repos)
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
|
||||||
|
@@ -94,7 +94,7 @@ Note that you must specify a `TS_AUTHKEY` in the `ts-gitea` service. You can gen
|
|||||||
"${TS_CERT_DOMAIN}:443":
|
"${TS_CERT_DOMAIN}:443":
|
||||||
{ "Handlers": { "/": { "Proxy": "http://127.0.0.1:3000" } } },
|
{ "Handlers": { "/": { "Proxy": "http://127.0.0.1:3000" } } },
|
||||||
},
|
},
|
||||||
"AllowFunnel": { "${TS_CERT_DOMAIN}:443": false },
|
"AllowFunnel": { "${TS_CERT_DOMAIN}:443": false }
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -185,3 +185,5 @@ One enhancement that I would like to see is the ability to send notifications on
|
|||||||
Gitea Actions are fast and the resource footprint is minimal. My gitea instance is currently using around 250mb of memory and a small fraction of a single cpu core (and the runner is using a similar amount of resources). This is impressive since many alternatives tend to require substantially more resources. It likely helps that the codebase is largely written in go.
|
Gitea Actions are fast and the resource footprint is minimal. My gitea instance is currently using around 250mb of memory and a small fraction of a single cpu core (and the runner is using a similar amount of resources). This is impressive since many alternatives tend to require substantially more resources. It likely helps that the codebase is largely written in go.
|
||||||
|
|
||||||
By combining gitea with the networking marvel that is tailscale, running workflows becomes simple and fun. Whether you are working on a team or working alone, this setup ensures that your workflows are securely accessible from anywhere with an internet connection.
|
By combining gitea with the networking marvel that is tailscale, running workflows becomes simple and fun. Whether you are working on a team or working alone, this setup ensures that your workflows are securely accessible from anywhere with an internet connection.
|
||||||
|
|
||||||
|
Check out my gitea instance exposed via Funnel [here](https://gitea.snake-cloud.ts.net).
|
||||||
|
Reference in New Issue
Block a user