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: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3
entrypoint: ["/etc/gitea-runner-entrypoint.sh"]
- name: Validate NixOS configuration - name: Validate NixOS configuration
run: | run: |
+8
View File
@@ -41,6 +41,13 @@
}; };
environment.etc."gitea-runner-entrypoint.sh" = {
mode = "0755";
text = ''
#!/bin/sh
exec ${pkgs.coreutils}/bin/sleep "$@"
'';
};
@@ -78,6 +85,7 @@
]; ];
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" ];
}; };