add more .sha256sum and .txt files to ipfs uploads

This commit is contained in:
neil 2022-10-28 10:38:06 +08:00
parent 33cfa19cac
commit f442c862e1

View file

@ -28,6 +28,30 @@ export default {
] ]
}, },
}, },
{
s3: {
bucket: '${ssm:AW5_S3_BUCKET}',
existing: true,
event: 's3:ObjectCreated:*',
rules: [
{
suffix: '.sha256sum'
},
]
},
},
{
s3: {
bucket: '${ssm:AW5_S3_BUCKET}',
existing: true,
event: 's3:ObjectCreated:*',
rules: [
{
suffix: '.txt'
},
]
},
},
], ],
environment: { environment: {
AWS_DIST_BUCKET: '${ssm:AW5_S3_BUCKET}', AWS_DIST_BUCKET: '${ssm:AW5_S3_BUCKET}',