ssh
This commit is contained in:
parent
15bcad3c58
commit
f1e4538f68
1 changed files with 13 additions and 0 deletions
|
@ -18,9 +18,22 @@ jobs:
|
|||
run: |
|
||||
git config --global user.name "ukubot"
|
||||
git config --global user.email "bot@uku.moe"
|
||||
git config --global user.signingkey "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJophqKVpoaeFJP1Wf3SEcfOMObogY6738lx2Ng+LGcQ ukubot"
|
||||
git config --global gpg.format "ssh"
|
||||
|
||||
- name: Setup SSH Key
|
||||
run: |
|
||||
mkdir -p /home/runner/.ssh
|
||||
echo "${{ secrets.SSH_KEY }}" > /home/runner/.ssh/action
|
||||
chmod 600 /home/runner/.ssh/action
|
||||
|
||||
ssh-agent -a /tmp/ssh_agent.sock > /dev/null
|
||||
ssh-add /home/runner/.ssh/action
|
||||
|
||||
- name: Update lockfile
|
||||
id: update_lockfile
|
||||
env:
|
||||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
|
||||
run: |
|
||||
git checkout -b "update-lock-$(date -I)"
|
||||
nix flake update --commit-lock-file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue