From 56b672def42567777c8cc4e6ae9b087be3b01548 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sun, 21 Jul 2024 12:42:35 +0200 Subject: [PATCH] renamed ssh key in action script --- .forgejo/workflows/nix_build.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/nix_build.yaml b/.forgejo/workflows/nix_build.yaml index 96b7848..9c2db85 100644 --- a/.forgejo/workflows/nix_build.yaml +++ b/.forgejo/workflows/nix_build.yaml @@ -32,20 +32,20 @@ jobs: - name: nix flake archive run: | - cat < .id_rsa + cat < .ssh_key ${{ secrets.SSH_KEY }} EOF - chmod 600 .id_rsa + chmod 600 .ssh_key eval $(ssh-agent) - ssh-add .id_rsa + ssh-add .ssh_key nix flake archive nix flake check --verbose --log-format raw echo $SSH_AGENT_PID kill $SSH_AGENT_PID - rm .id_rsa + rm .ssh_key - name: nix build orbi run: nix build .#nixosConfigurations.orbi.config.system.build.toplevel