Moved some workflow parts & downgraded cache
Some checks failed
Nix Web Proxy Worker / setup-nixos-runner (push) Failing after 17s
Some checks failed
Nix Web Proxy Worker / setup-nixos-runner (push) Failing after 17s
This commit is contained in:
@@ -8,28 +8,29 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: webfactory/ssh-agent@v0.9.0
|
- uses: webfactory/ssh-agent@v0.9.2
|
||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ secrets.WEB_PROXY_SSH_PRIVATE_KEY }}
|
ssh-private-key: ${{ secrets.WEB_PROXY_SSH_PRIVATE_KEY }}
|
||||||
- uses: cachix/install-nix-action@v31
|
|
||||||
|
|
||||||
- name: Ensure known host name
|
- name: Ensure known host name
|
||||||
run: ssh-keyscan ${{ vars.WEB_PROXY_IP }} >> ~/.ssh/known_hosts
|
run: ssh-keyscan ${{ vars.WEB_PROXY_IP }} >> ~/.ssh/known_hosts
|
||||||
|
|
||||||
- name: Restore cached Nix Store
|
- name: Restore cached Nix Store
|
||||||
id: cached-nix-store
|
id: cached-nix-store
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/nix
|
/nix
|
||||||
key: ${{ runner.os }}-nix-infrastructure
|
key: ${{ runner.os }}-nix-infrastructure
|
||||||
|
|
||||||
|
- uses: cachix/install-nix-action@v31
|
||||||
|
|
||||||
- name: Apply Nix build to Web Proxy host
|
- 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 }}"
|
run: nix-shell shell.nix --run "nixos-rebuild switch --no-flake --target-host ${{ vars.WEB_PROXY_TARGET_HOST }}"
|
||||||
|
|
||||||
- name: Save Primes
|
- name: Save Primes
|
||||||
id: cache-primes-save
|
id: cache-primes-save
|
||||||
uses: actions/cache/save@v4
|
uses: actions/cache/save@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/nix
|
/nix
|
||||||
|
|||||||
Reference in New Issue
Block a user