Skip to content

Commit 9da062b

Browse files
committed
fix: fix merge conflict
2 parents 9d509c9 + 0ac069a commit 9da062b

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/deploy_backend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ jobs:
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

backend/resources/s3.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)