File tree 3 files changed +13
-13
lines changed
3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1
1
# ⚡️ Serverless Plugin for S3 Sync
2
2
3
- [ ![ npm] ( https://img.shields.io/npm/v/serverless-s3 -sync.svg )] ( https://www.npmjs.com/package/serverless-s3 -sync )
4
- [ ![ CircleCI] ( https://img.shields.io/circleci/project/github/sbstjn/serverless-s3 -sync/master.svg )] ( https://circleci.com/gh/sbstjn/serverless-s3 -sync )
5
- [ ![ license] ( https://img.shields.io/github/license/sbstjn/serverless-s3 -sync.svg )] ( https://github.com/sbstjn/serverless-s3 -sync/blob/master/LICENSE.md )
6
- [ ![ Coveralls] ( https://img.shields.io/coveralls/sbstjn/serverless-s3 -sync.svg )] ( https://coveralls.io/github/sbstjn/serverless-s3 -sync )
3
+ [ ![ npm] ( https://img.shields.io/npm/v/serverless-s3bucket -sync.svg )] ( https://www.npmjs.com/package/serverless-s3bucket -sync )
4
+ [ ![ CircleCI] ( https://img.shields.io/circleci/project/github/sbstjn/serverless-s3bucket -sync/master.svg )] ( https://circleci.com/gh/sbstjn/serverless-s3bucket -sync )
5
+ [ ![ license] ( https://img.shields.io/github/license/sbstjn/serverless-s3bucket -sync.svg )] ( https://github.com/sbstjn/serverless-s3bucket -sync/blob/master/LICENSE.md )
6
+ [ ![ Coveralls] ( https://img.shields.io/coveralls/sbstjn/serverless-s3bucket -sync.svg )] ( https://coveralls.io/github/sbstjn/serverless-s3bucket -sync )
7
7
8
8
With this plugin for [ serverless] ( https://serverless.com ) , you can sync local folders to S3 buckets after your service is deployed.
9
9
10
10
## Usage
11
11
12
- Add the [ NPM package] ( https://www.npmjs.com/package/serverless-s3 -sync ) to your project:
12
+ Add the [ NPM package] ( https://www.npmjs.com/package/serverless-s3bucket -sync ) to your project:
13
13
14
14
``` bash
15
15
# Via yarn
16
- $ yarn add serverless-s3 -sync
16
+ $ yarn add serverless-s3bucket -sync
17
17
18
18
# Via npm
19
- $ npm install serverless-s3 -sync
19
+ $ npm install serverless-s3bucket -sync
20
20
```
21
21
22
22
Add the plugin to your ` serverless.yml ` :
23
23
24
24
``` yaml
25
25
plugins :
26
- - serverless-s3 -sync
26
+ - serverless-s3bucket -sync
27
27
` ` `
28
28
29
29
## Configuration
Original file line number Diff line number Diff line change @@ -18,6 +18,6 @@ deployment:
18
18
release :
19
19
tag : /v[0-9]+(\.[0-9]+)*/
20
20
commands :
21
- - echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/serverless-s3 -sync/.npmrc
21
+ - echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/serverless-s3bucket -sync/.npmrc
22
22
- $(yarn bin)/dot-json package.json version ${CIRCLE_TAG:1}
23
23
- npm publish
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " serverless-s3 -sync" ,
2
+ "name" : " serverless-s3bucket -sync" ,
3
3
"description" : " Serverless Plugin to sync local folders with an S3 bucket" ,
4
4
"version" : " 0.0.0" ,
5
5
"main" : " src/plugin.js" ,
24
24
"license" : " MIT" ,
25
25
"repository" : {
26
26
"type" : " git" ,
27
- "url" : " https://github.com/sbstjn/serverless-s3 -sync.git"
27
+ "url" : " https://github.com/sbstjn/serverless-s3bucket -sync.git"
28
28
},
29
29
"bugs" : {
30
- "url" : " https://github.com/sbstjn/serverless-s3 -sync/issues"
30
+ "url" : " https://github.com/sbstjn/serverless-s3bucket -sync/issues"
31
31
},
32
- "homepage" : " https://github.com/sbstjn/serverless-s3 -sync" ,
32
+ "homepage" : " https://github.com/sbstjn/serverless-s3bucket -sync" ,
33
33
"dependencies" : {
34
34
"s3" : " ^4.4.0"
35
35
},
You can’t perform that action at this time.
0 commit comments