switch to forgejo actions #5

Merged
notohh merged 17 commits from actions-testing into master 2023-10-05 16:31:15 -04:00
Showing only changes of commit ff62d8cefb - Show all commits

View file

@ -3,6 +3,7 @@
config, config,
... ...
}: { }: {
sops.secrets.forgejo-runner-token = {owner = "forgejo";};
services.forgejo = { services.forgejo = {
enable = true; enable = true;
stateDir = "/var/lib/forgejo"; stateDir = "/var/lib/forgejo";
@ -40,7 +41,7 @@
enable = true; enable = true;
name = config.networking.hostName; name = config.networking.hostName;
url = "https://git.flake.sh"; url = "https://git.flake.sh";
token = "WJXKbVSyfUVpeJYiFpRlf04CyxDS0mYG7at8B9kX"; token = config.sops.secrets.forgejo-runner-token.path;
labels = [ labels = [
"debian-latest:docker://node:18-bullseye" "debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye" "ubuntu-latest:docker://node:18-bullseye"