From f5756ac6525b62f7919512ae65064f6678c533ac Mon Sep 17 00:00:00 2001 From: Andrew Rioux Date: Sun, 19 Oct 2025 23:49:36 -0400 Subject: [PATCH] fix: add NIX_PATH environment variable --- .gitea/workflows/deploy.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 113abcb..20e1af0 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -10,6 +10,7 @@ jobs: - name: Build article code run: | + export NIX_PATH=nixpkgs=flake:nixpkgs:/nix/var/nix/profiles/per-user/root/channels/nixos /run/current-system/sw/bin/nix-build -A articles - name: Deploy article HTML @@ -18,6 +19,7 @@ jobs: ${{ secrets.DEPLOY_SSH_KEY }} EOD + export NIX_PATH=nixpkgs=flake:nixpkgs:/nix/var/nix/profiles/per-user/root/channels/nixos /run/current-system/sw/bin/nix-shell -p rsync openssh --run \ 'rsync -avz -e "ssh -oStrictHostKeyChecking=accept-new -i ssh-key" result/* deploy@andrew.riouxs.co:/srv/site'