Skip to content

Commit

Permalink
Fixed #22
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgatti committed Aug 26, 2019
1 parent 1a330ba commit a6a03ef
Show file tree
Hide file tree
Showing 6 changed files with 227 additions and 209 deletions.
7 changes: 7 additions & 0 deletions 03_Parameters/github_account_name.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ParamGitHubAccountName": {
"Description": "The name of the GitHub account, it is the same names that you find in the URL. Organization or private account.",
"Type": "String",
"Default": "0x4447"
}
}
2 changes: 1 addition & 1 deletion 03_Parameters/github_token.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"GitHubToken": {
"Description": "You need to create a Personal access tokens (https://github.com/settings/tokens) for CodePipeline to have access to the GitHub repo despite it being public.",
"Description": "You need to create a Personal access tokens (https://github.com/settings/tokens) for CodePipeline to have access to the GitHub repo even if they are public, and the Scope has to have: repo and admin:repo_hook",
"NoEcho": true,
"Type": "String"
}
Expand Down
2 changes: 1 addition & 1 deletion 07_Resources/Repos/converter/CodePipeline/pipe_line.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"Version": "1"
},
"Configuration": {
"Owner": "0x4447",
"Owner": { "Ref": "ParamGitHubAccountName" },
"Repo": "0x4447-product-s3-email-lambda-converter",
"Branch": { "Ref": "Stage" },
"PollForSourceChanges": true,
Expand Down
2 changes: 1 addition & 1 deletion 07_Resources/Repos/inbound/CodePipeline/pipe_line.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"Version": "1"
},
"Configuration": {
"Owner": "0x4447",
"Owner": { "Ref": "ParamGitHubAccountName" },
"Repo": "0x4447-product-s3-email-lambda-inbound",
"Branch": { "Ref": "Stage" },
"PollForSourceChanges": true,
Expand Down
2 changes: 1 addition & 1 deletion 07_Resources/Repos/outbound/CodePipeline/pipe_line.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"Version": "1"
},
"Configuration": {
"Owner": "0x4447",
"Owner": { "Ref": "ParamGitHubAccountName" },
"Repo": "0x4447-product-s3-email-lambda-outbound",
"Branch": { "Ref": "Stage" },
"PollForSourceChanges": true,
Expand Down
Loading

0 comments on commit a6a03ef

Please sign in to comment.