This commit is contained in:
parent
103ea6984b
commit
770d4e4193
5
.github/workflows/test-sign.yaml
vendored
5
.github/workflows/test-sign.yaml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
- name: configure git
|
- name: configure git
|
||||||
env:
|
env:
|
||||||
SSH_PRIVKEY: ${ secrets.BOT_SSH_PRIVKEY }
|
SSH_PRIVKEY: ${ secrets.BOT_SSH_PRIVKEY }
|
||||||
SSH_PUBKEY: ${ secrets.BOT_SSH_PUBKEY}
|
SSH_PUBKEY: ${ secrets.BOT_SSH_PUBKEY }
|
||||||
run: |
|
run: |
|
||||||
echo "$SSH_PRIVKEY" > /tmp/id_ed25519
|
echo "$SSH_PRIVKEY" > /tmp/id_ed25519
|
||||||
echo "$SSH_PUBKEY" > /tmp/id_ed25519.pub
|
echo "$SSH_PUBKEY" > /tmp/id_ed25519.pub
|
||||||
@ -30,6 +30,9 @@ jobs:
|
|||||||
git config --global user.signingKey = "~/.ssh/id_ed25519.pub"
|
git config --global user.signingKey = "~/.ssh/id_ed25519.pub"
|
||||||
git config --global gpg.format ssh
|
git config --global gpg.format ssh
|
||||||
git config --global commit.gpgsign true
|
git config --global commit.gpgsign true
|
||||||
|
- name: cat config
|
||||||
|
run: |
|
||||||
|
cat ~/.gitconfig
|
||||||
- name: add something to a file
|
- name: add something to a file
|
||||||
run: echo $RANDOM >> random.txt
|
run: echo $RANDOM >> random.txt
|
||||||
- name: push
|
- name: push
|
||||||
|
Loading…
Reference in New Issue
Block a user