All checks were successful
Nix Web Proxy Worker / setup-nixos-runner (push) Successful in 3m25s
16 lines
555 B
YAML
16 lines
555 B
YAML
name: Nix Web Proxy Worker
|
|
run-name: Web Proxy - Nix
|
|
on: [push, merge]
|
|
|
|
jobs:
|
|
setup-nixos-runner:
|
|
run-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: webfactory/ssh-agent@v0.9.0
|
|
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
|
|
run: nix-shell shell.nix --run "nixos-rebuild switch --no-flake --target-host ${{ vars.WEB_PROXY_TARGET_HOST }} --verbose" |