path fix
Some checks failed
NixOS Rebuild / rebuild (push) Has been cancelled

This commit is contained in:
Satria 2026-03-15 09:57:31 +07:00
commit f3fd07c743

View file

@ -5,6 +5,9 @@ on:
push: push:
branches: [ main ] branches: [ main ]
env:
PATH: /run/current-system/sw/bin:/run/wrappers/bin
jobs: jobs:
rebuild: rebuild:
runs-on: self-hosted runs-on: self-hosted
@ -16,7 +19,7 @@ jobs:
chmod 600 ./ssh/deploy_key chmod 600 ./ssh/deploy_key
echo "StrictHostKeyChecking no" > ./ssh/config echo "StrictHostKeyChecking no" > ./ssh/config
- name: Rebuild (${{ github.event.inputs.action || 'switch' }}) - name: Rebuild
run: | run: |
ssh -i ./ssh/deploy_key root@localhost \ ssh -i ./ssh/deploy_key root@localhost \
"nixos-rebuild switch \ "nixos-rebuild switch \