File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 working-directory : " ./src/handler"
3838 run : npm ci --production
3939
40- - name : Run tests
41- working-directory : ./src/handler
42- run : npm test
4340
4441 - name : Package Lambda function
4542 run : |
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ resource "aws_iam_role" "github_actions" {
7474 " token.actions.githubusercontent.com:aud" = " sts.amazonaws.com"
7575 }
7676 StringLike = {
77- " token.actions.githubusercontent.com:sub" = " repo:${ var . github_repo } :* "
77+ " token.actions.githubusercontent.com:sub" = " repo:${ var . github_repo } "
7878 }
7979 }
8080 }
Original file line number Diff line number Diff line change @@ -41,5 +41,5 @@ variable "tags" {
4141variable "github_repo" {
4242 description = " GitHub repository name"
4343 type = string
44- default = " serverless.project"
44+ default = " hanimao/ serverless.project:ref:refs/heads/main "
4545}
You can’t perform that action at this time.
0 commit comments