From ad3d90b3c2f6c3dea4677095b385a17706c59268 Mon Sep 17 00:00:00 2001 From: henrik Date: Tue, 23 Dec 2025 01:35:40 +0100 Subject: [PATCH] Moved some workflow parts & downgraded cache --- .gitea/workflows/web-deploy.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/web-deploy.yaml b/.gitea/workflows/web-deploy.yaml index e1483ab..6be2f6c 100644 --- a/.gitea/workflows/web-deploy.yaml +++ b/.gitea/workflows/web-deploy.yaml @@ -8,28 +8,29 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: webfactory/ssh-agent@v0.9.0 + - uses: webfactory/ssh-agent@v0.9.2 with: ssh-private-key: ${{ secrets.WEB_PROXY_SSH_PRIVATE_KEY }} - - uses: cachix/install-nix-action@v31 - name: Ensure known host name run: ssh-keyscan ${{ vars.WEB_PROXY_IP }} >> ~/.ssh/known_hosts - name: Restore cached Nix Store id: cached-nix-store - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v3 with: path: | /nix key: ${{ runner.os }}-nix-infrastructure + - uses: cachix/install-nix-action@v31 + - 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 }}" - name: Save Primes id: cache-primes-save - uses: actions/cache/save@v4 + uses: actions/cache/save@v3 with: path: | /nix