You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently both serverless-stack-output and serverless-s3-sync run off after:deploy:deploy asynchronously. I'm not sure there's a way of defining the ordering or dependency between them without writing my own plugin, but it might be sufficient to move CloudFormation stack output earlier (and S3 sync later). Alternatively, is it related to #18?
I think this could be achieved by changing after:deploy:deploy to before:deploy:finalize in index.js.
I think this is sensible to go off the AWS-specific event, given it's specifically dealing with CloudFormation.
The text was updated successfully, but these errors were encountered:
I'm attempting to have a single source project containing both React app and serverless spec, and have
sls deploy
:serverless-stack-output
to update React app with details from CloudFormationnpm build
serverless-s3-sync
to copy the Reactbuild/
directory up to S3.Currently both
serverless-stack-output
andserverless-s3-sync
run offafter:deploy:deploy
asynchronously. I'm not sure there's a way of defining the ordering or dependency between them without writing my own plugin, but it might be sufficient to move CloudFormation stack output earlier (and S3 sync later). Alternatively, is it related to #18?I think this could be achieved by changing
after:deploy:deploy
tobefore:deploy:finalize
in index.js.I think this is sensible to go off the AWS-specific event, given it's specifically dealing with CloudFormation.
The text was updated successfully, but these errors were encountered: