Skip to content

Commit

Permalink
Update deploy key
Browse files Browse the repository at this point in the history
Fix #221

どういう原因か分かりませんが、デプロイの際使用するSSHの鍵がread onlyになってました。
新しい鍵を作り、そのfingerprintで置き換えることで対応できたはずです。
なお、新しい鍵は @haskell-jp-bot のUser keyとして作成しました。
[こちらのドキュメント](https://circleci.com/docs/github-integration/#deploy-keys-and-user-keys)における、

> To achieve fine-grained access to more than one repository, consider creating what GitHub calls a machine user. Give this user exactly the permissions your build requires, and then associate its user key with your project on CircleCI.

というアドバイスに従ったためです。私の権限ではなく @haskell-jp-bot の権限で利用できる範囲に鍵の有効な範囲を絞っているわけですね。
  • Loading branch information
igrep committed Jan 7, 2024
1 parent 5ad7f3d commit 330766d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
path: ~/project
- add-ssh-keys:
fingerprints:
- "ce:26:f9:6a:ac:98:43:91:5c:c8:77:ef:11:13:d3:fc"
- "9f:97:4e:99:72:c0:62:1d:db:9e:8e:ce:62:3f:0a:52"
- run: apt update
- run: apt install -y make ssh-client
- attach_workspace:
Expand Down

0 comments on commit 330766d

Please sign in to comment.