Added caching action
Some checks failed
Nix Web Proxy Worker / setup-nixos-runner (push) Has been cancelled

This commit is contained in:
2025-10-03 20:54:08 +02:00
parent 311f5c6ec0
commit e85ccb4f50

View File

@@ -11,6 +11,10 @@ jobs:
with:
ssh-private-key: ${{ secrets.WEB_PROXY_SSH_PRIVATE_KEY }}
- uses: cachix/install-nix-action@v31
- run: ssh-keyscan 192.168.1.35 >> ~/.ssh/known_hosts
- name: nixing
- uses: actions/cache@v4
with:
path: /nix/store
- name: Ensure known host name
run: ssh-keyscan ${{ vars.WEB_PROXY_IP }} >> ~/.ssh/known_hosts
- name: Apply Nix build to Web Proxy host
run: nix-shell shell.nix --run "nixos-rebuild switch --no-flake --target-host ${{ vars.WEB_PROXY_TARGET_HOST }}"