Skip to content

Commit

Permalink
Merge pull request #29 from honahuku:fix/fmt-comment
Browse files Browse the repository at this point in the history
fix: コメントの位置修正
  • Loading branch information
honahuku authored Jan 17, 2024
2 parents 7ab2b2c + 48fc99b commit e70d9df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update-ssh-keys/update_sshkeys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ chmod 600 "$USER_HOME"/.ssh/authorized_keys
# GitHubユーザー名を設定
GITHUB_USERNAME="honahuku"

set +x
# GitHubからSSH公開鍵を取得してauthorized_keysを更新
set +x
KEYS=$(wget -O - "https://github.com/${GITHUB_USERNAME}.keys")
if [ -n "$KEYS" ]; then
echo "$KEYS" >| "$USER_HOME"/.ssh/authorized_keys
Expand Down

0 comments on commit e70d9df

Please sign in to comment.