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
33
44## Install
55```
6- npm install aws-elasticsearch-model
6+ npm install aws-elasticsearch-model --save
77```
88or
99```
@@ -86,7 +86,7 @@ Your lambda function needs to have a role attached to it that allows to access y
8686 "es:ESHttpPut",
8787 "es:ESHttpDelete"
8888 ],
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/*",
9090 "Effect": "Allow"
9191 }
9292 ]
You can’t perform that action at this time.
0 commit comments