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'