Forgejo Actions test
This commit is contained in:
parent
df57420fef
commit
05ba715c0d
12
.forgejo/workflows/update.yaml
Normal file
12
.forgejo/workflows/update.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
format:
|
||||
runs-on: nix
|
||||
steps:
|
||||
- run: nix fmt
|
||||
build:
|
||||
runs-on: nix
|
||||
steps:
|
||||
- run: nix flake update
|
||||
- run: nh os build
|
||||
- run: nh os build --hostname Khanda
|
|
@ -70,7 +70,7 @@ in
|
|||
url = "https://${config.secrets.services.forgejo.url}";
|
||||
token = config.secrets.services.forgejo.runner-token;
|
||||
labels = [
|
||||
"nix:docker://nixos/nix" # Shoutout to Icewind 1991 for this syntax: https://icewind.nl/entry/gitea-actions-nix/
|
||||
"nix:docker://nixos/nix" # Shoutout to Icewind 1991 for this syntax: https://icewind.nl/entry/gitea-actions-nix/
|
||||
"debian:docker://node:20-bullseye"
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue