fixed entrypoint
Validate NixOS Config / validate (push) Failing after 1s

This commit is contained in:
2024-08-24 15:53:29 +00:00
parent 862fc8961b
commit 3c60a8a0d6
2 changed files with 9 additions and 0 deletions
@@ -14,6 +14,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
entrypoint: ["/etc/gitea-runner-entrypoint.sh"]
- name: Validate NixOS configuration
run: |
+8
View File
@@ -41,6 +41,13 @@
};
environment.etc."gitea-runner-entrypoint.sh" = {
mode = "0755";
text = ''
#!/bin/sh
exec ${pkgs.coreutils}/bin/sleep "$@"
'';
};
@@ -76,6 +83,7 @@
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA6LLy8IibZsCar/hC2U86lFTp4Of2YO+SMm69p+jh6k Marcus macbook"
];
extraGroups = [ "wheel" ];