From cad88afa6e61b6752d4aa9514ec72f95d658cb83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Tue, 8 Oct 2024 20:03:48 +0200 Subject: [PATCH] Change workflow --- .github/workflows/test-sign.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-sign.yaml b/.github/workflows/test-sign.yaml index b5f136e..524cf7f 100644 --- a/.github/workflows/test-sign.yaml +++ b/.github/workflows/test-sign.yaml @@ -22,9 +22,8 @@ jobs: SSH_PRIVKEY: ${ secrets.BOT_SSH_PRIVKEY } SSH_PUBKEY: ${ secrets.BOT_SSH_PUBKEY} run: | - mkdir -p ~/.ssh || exit 0 - echo "$SSH_PRIVKEY" > ~/.ssh/id_ed25519 - echo "$SSH_PUBKEY" > ~/.ssh/id_ed25519.pub + echo "$SSH_PRIVKEY" > /tmp/id_ed25519 + echo "$SSH_PUBKEY" > /tmp/id_ed25519.pub chmod -R 0600 ~/.ssh git config --global user.name 'torjus-bot' git config --global user.email 'torjus-bot@git.t-juice.club'