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'