From ef8a66a506b867c0896414f339cadc795b53141b Mon Sep 17 00:00:00 2001 From: Zuckerberg Date: Sun, 15 Oct 2023 16:39:44 -0600 Subject: [PATCH] ssh key attempt --- .gitea/workflows/test.yaml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 3f5485c..669c914 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -41,16 +41,12 @@ jobs: - name: Setup SSH Key run: | - echo "${{ secrets.BINARY_CACHE_PUSH_SSH_KEY }}" id_ed25519 - echo "" >> id_ed25519 - chmod 600 id_ed25519 + echo "${{ secrets.BINARY_CACHE_PUSH_SSH_KEY }}" > ./.id_ed25519 + echo >> ./.id_ed25519 + chmod 600 ./.id_ed25519 eval $(ssh-agent -a $SSH_AUTH_SOCK) - ssh-add id_ed25519 - - # - name: Setup SSH Key - # uses: https://github.com/webfactory/ssh-agent@v0.8.0 - # with: - # ssh-private-key: ${{ secrets.BINARY_CACHE_PUSH_SSH_KEY }} + md5sum ./.id_ed25519 + ssh-add ./.id_ed25519 - name: Copy all built derivations to remote cache run: nix copy --to ssh://cache-push@s0.koi-bebop.ts.net /nix/store/* \ No newline at end of file