Change workflow
Some checks failed
Periodic flake update / flake-update (push) Failing after 3s

This commit is contained in:
Torjus Håkestad 2024-10-08 20:19:05 +02:00
parent ecb2dda036
commit 61d18a79d8
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4

View File

@ -22,19 +22,19 @@ jobs:
SSH_PRIVKEY: ${ secrets.BOT_SSH_PRIVKEY }
SSH_PUBKEY: ${ secrets.BOT_SSH_PUBKEY }
run: |
echo "$SSH_PRIVKEY" > /tmp/id_ed25519
echo "$SSH_PUBKEY" > /tmp/id_ed25519.pub
chmod -R 0600 /tmp/id_ed25519.pub /tmp/id_ed25519
echo "$SSH_PRIVKEY" > "$RUNNER_TEMP/id_ed25519"
echo "$SSH_PUBKEY" > "$RUNNER_TEMP/id_ed25519.pub"
chmod -R 0600 "$RUNNER_TEMP/id_ed25519.pub" "$RUNNER_TEMP/id_ed25519"
git config --global user.name 'torjus-bot'
git config --global user.email 'torjus-bot@git.t-juice.club'
git config --global user.signingKey "/tmp/id_ed25519.pub"
git config --global user.signingKey "$RUNNER_TEMP/id_ed25519.pub"
git config --global gpg.format ssh
git config --global commit.gpgsign true
ls /tmp
ls $RUNNER_TEMP
- name: cat config
run: |
cat ~/.gitconfig
ls /tmp
ls $RUNNER_TEMP
- name: add something to a file
run: echo $RANDOM >> random.txt
- name: push