Skip to content

Commit

Permalink
feat: add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
RaoHai committed Sep 13, 2024
1 parent 89e4011 commit 76688c9
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 1 deletion.
7 changes: 7 additions & 0 deletions amplify/backend/amplify-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,12 @@
"StackId": "arn:aws:cloudformation:ap-northeast-1:654654285942:stack/amplify-petercat-dev-d6f98/5c0f5a30-717f-11ef-a7eb-069726f40753",
"AmplifyAppId": "dwu86qdv45on0"
}
},
"hosting": {
"amplifyhosting": {
"service": "amplifyhosting",
"providerPlugin": "awscloudformation",
"type": "manual"
}
}
}
28 changes: 27 additions & 1 deletion amplify/backend/backend-config.json
Original file line number Diff line number Diff line change
@@ -1 +1,27 @@
{}
{
"hosting": {
"amplifyhosting": {
"providerPlugin": "awscloudformation",
"service": "amplifyhosting",
"type": "manual"
}
},
"parameters": {
"AMPLIFY_hosting_amplifyhosting_appId": {
"usedBy": [
{
"category": "hosting",
"resourceName": "amplifyhosting"
}
]
},
"AMPLIFY_hosting_amplifyhosting_type": {
"usedBy": [
{
"category": "hosting",
"resourceName": "amplifyhosting"
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "Branch stack creation for AWS Amplify Console",
"Parameters": {
"env": {
"Type": "String"
},
"appId": {
"Type": "String"
},
"type": {
"Type": "String"
}
},
"Conditions": {
"isManual": {
"Fn::Equals": [
{
"Ref": "type"
},
"manual"
]
}
},
"Resources": {
"AmplifyBranch": {
"Condition": "isManual",
"Type": "AWS::Amplify::Branch",
"Properties": {
"BranchName": {
"Ref": "env"
},
"AppId": {
"Ref": "appId"
}
}
}
}
}
8 changes: 8 additions & 0 deletions amplify/team-provider-info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
"StackName": "amplify-petercat-dev-d6f98",
"StackId": "arn:aws:cloudformation:ap-northeast-1:654654285942:stack/amplify-petercat-dev-d6f98/5c0f5a30-717f-11ef-a7eb-069726f40753",
"AmplifyAppId": "dwu86qdv45on0"
},
"categories": {
"hosting": {
"amplifyhosting": {
"appId": "dwu86qdv45on0",
"type": "manual"
}
}
}
}
}

0 comments on commit 76688c9

Please sign in to comment.