This commit is contained in:
parent
ecb2dda036
commit
61d18a79d8
12
.github/workflows/test-sign.yaml
vendored
12
.github/workflows/test-sign.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user