Middleman to Amazon S3

AWS にデプロイ用ユーザを作成 IAM(Identity and Access Management)でTravis CIからのデプロイ用ユーザ作成 デプロイ用ユーザにAmazon S3更新権限を付与(Attach User PolicyからAmazon S3 Full Access) Amazon S3 にバケツ(公開用フォルダ)作成 Amazon S3にバケツを作成。PropertiesからStatic Website HostingをEnable website hostingにする。 Index Documentにindex.htmlを指定 Travis CI の設定 AWSデプロイ用ユーザ作成時のAccess Key IDを暗号化 # travis encrypt -r tsujimitsu/codelogue *********** Please add the following to your .travis.yml file: secure: "**********" 同じ要領でSecret Access Keyも暗号化(-rの後ろはgithubのリポジトリを指定) travis encrypt -r tsujimitsu/codelogue ********** Please add the following to your .travis.yml file: secure: "**********" travis.