From f3fd07c743b926b9378ef0157228e2c931858b81 Mon Sep 17 00:00:00 2001 From: Satria Date: Sun, 15 Mar 2026 09:57:31 +0700 Subject: [PATCH] path fix --- .forgejo/workflows/activate.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/activate.yml b/.forgejo/workflows/activate.yml index 804f386..8dd1442 100644 --- a/.forgejo/workflows/activate.yml +++ b/.forgejo/workflows/activate.yml @@ -5,6 +5,9 @@ on: push: branches: [ main ] +env: + PATH: /run/current-system/sw/bin:/run/wrappers/bin + jobs: rebuild: runs-on: self-hosted @@ -16,7 +19,7 @@ jobs: chmod 600 ./ssh/deploy_key echo "StrictHostKeyChecking no" > ./ssh/config - - name: Rebuild (${{ github.event.inputs.action || 'switch' }}) + - name: Rebuild run: | ssh -i ./ssh/deploy_key root@localhost \ "nixos-rebuild switch \