File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v1
12
+ - uses : actions/setup-node@v1
13
+ with :
14
+ node-version : 12
15
+ registry-url : https://registry.npmjs.org/
16
+ - run : yarn install
17
+ - run : npm publish --access public
18
+ env :
19
+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ A small library that simplifies [AWS Elasticsearch Service](https://aws.amazon.c
3
3
4
4
## Install
5
5
```
6
- npm install aws-elasticsearch-model
6
+ npm install aws-elasticsearch-model --save
7
7
```
8
8
or
9
9
```
@@ -86,7 +86,7 @@ Your lambda function needs to have a role attached to it that allows to access y
86
86
"es:ESHttpPut",
87
87
"es:ESHttpDelete"
88
88
],
89
- "Resource": "arn:aws:es:AWS_REGION:AWS_ACCOUNT_ID:domain/my-elasticsearch-domain/*",
89
+ "Resource": "arn:aws:es:AWS_REGION:AWS_ACCOUNT_ID:domain/my-aws- elasticsearch-domain/*",
90
90
"Effect": "Allow"
91
91
}
92
92
]
You can’t perform that action at this time.
0 commit comments