Skip to content

Commit

Permalink
add gh ssh pk assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
caseytomlin authored Dec 3, 2024
1 parent 1853f8b commit cc40e20
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .chezmoiscripts/run_once_add-ssh-pk.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

set -eu

ID_RSA_FILENAME=$HOME/.ssh/id_rsa

echo "$GH_ID_RSA" > $ID_RSA_FILENAME
chmod 600 $ID_RSA_FILENAME

0 comments on commit cc40e20

Please sign in to comment.