Github ActionsでECSをデプロイする。
github actionsの定義
github actionsの定義ファイルは
.github
フォルダ配下にymlを作成すればgit上で自動的に認識される。
github actionsでデプロイする為の権限
github actions用のユーザーを作成する。
ecrとecr周りの権限をアタッチすればOK。
作成した権限でアクセスキーを作成する。

「アクセスキーを作成」を選択して「AWS の外部で実行されるアプリケーション」を選択してキー作成。
作成したユーザーのkeyをGithubのsercretに登録する。
githubにログインしてSecrets and variablesを選択する。
