Comments (3)
I should add, in my CI/CD pipeline I run sls deploy --nos3sync
as one step and then sls s3sync:sync
as an additional step. This may do what you want if you run your bash script between the two phases.
from serverless-s3-sync.
I'm not sure how best to handle this. The hooks used by this plugin are defined at
Lines 29 to 34 in d424ac4
You could make sure that your bash script is using hooks that are defined earlier in the process, or you may need to look at how SLS prioritises the hook order (they may be run in parallel).
Apart from pointing you to the hooks being used, I don't think this is a problem that can be resolved by the plugin (unless you want to create a feature request for a hook/event system within the plugin and then offer some code to help solve it).
from serverless-s3-sync.
@ergousha if you are happy with my response as a resolution can you please close this issue? If you feel it needs a better response can you please provide some additional information as to how you would like it actioned.
from serverless-s3-sync.
Related Issues (20)
- Multipart uploads aren't successful
- IAM Permissions needed to deploy and sync stack HOT 1
- .DS_Store files uploaded
- npm ERR! notarget No matching version found for [email protected]. HOT 1
- Files removed from S3 even with noSync: true HOT 1
- Sync is just one-way? HOT 1
- Does plugin support SSE Encryption?
- http header / UnexpectedParameter: Unexpected key 'ServiceWorkerAllowed' found in params
- InvalidAccessKeyId: The AWS Access Key Id you provided does not exist in our records.
- AWS provider.region not set HOT 3
- Files uploaded twice with bucketPrefix HOT 2
- bucketPrefix uploads one file too much (not in localDir)
- Serverless Deprecation warning HOT 1
- Cannot read property 'defaultEncoding' HOT 3
- timeout on sync folder with folder around 300mb
- TypeError: Cannot read property 'hasOwnProperty' of undefined at serverlessS3Sync.sync HOT 2
- No Such Tag Set error
- deleteRemoved: false is not working always HOT 1
- Serverless Framework v3: new design & how to integrate HOT 3
- s3Sync operation cause IllegalLocationConstraintException
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless-s3-sync.