Skip to content

Commit 8018f76

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 74b9c8c + 8ccea43 commit 8018f76

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

.github/workflows/publish.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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}}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
```
88
or
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
]

0 commit comments

Comments
 (0)