File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464 if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
6565 sls deploy --stage prod --verbose
6666 elif [[ "${{ github.ref }}" == "refs/heads/stage" ]]; then
67- sls deploy --stage staging --verbose
67+ sls deploy --stage dev --verbose
6868 fi
6969 working-directory : backend
Original file line number Diff line number Diff line change @@ -2,16 +2,19 @@ Resources:
22 Bucket :
33 Type : AWS::S3::Bucket
44 Properties :
5- BucketName : ${self:custom.bucket}
5+ BucketName : ${self:custom.bucket}-2
66 VersioningConfiguration :
77 Status : Enabled
88 CorsConfiguration :
99 CorsRules :
10+ - AllowedHeaders : ["*"]
1011 - AllowedHeaders : ["*"]
1112 AllowedMethods : [GET, PUT, HEAD]
1213 AllowedOrigins : ["*"]
14+ AllowedOrigins : ["*"]
1315 Id : ${self:custom.bucket}-name
1416 MaxAge : " 3600"
17+ MaxAge : " 3600"
1518 PublicAccessBlockConfiguration :
1619 BlockPublicAcls : false
1720 IgnorePublicAcls : false
You can’t perform that action at this time.
0 commit comments