haskell-jp / blog

Official blog of Haskell-jp.
https://haskell.jp/blog/
Other
28 stars 18 forks source link

Update deploy key #222

Closed igrep closed 9 months ago

igrep commented 9 months ago

Fix https://github.com/haskell-jp/blog/issues/221

どういう原因か分かりませんが、デプロイの際使用するSSHの鍵がread onlyになってました。 新しい鍵を作り、そのfingerprintで置き換えることで対応できたはずです。 なお、新しい鍵は @haskell-jp-bot のUser keyとして作成しました。 こちらのドキュメントにおける、

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 の権限で利用できる範囲に鍵の有効な範囲を絞っているわけですね。

igrep commented 9 months ago

ビルドは成功してログを見た感じ問題ないのに、なぜかArtifactが空っぽになっているのが気になりますがこのままマージします!