haseebnqureshi / serverless-hq

Serverless made quick & easy. This is your home base for quick & powerfully easy scaffolding for your next Serverless project.
MIT License
10 stars 2 forks source link

Trigger HTML sync on sls deploy #21

Closed haseebnqureshi closed 7 years ago

haseebnqureshi commented 7 years ago

For any HTML resources, we should sync local www with s3 bucket after a successful sls deploy, so that the website is truly up and running.

haseebnqureshi commented 7 years ago

For right now with our initial release, users should navigate to their local sls offline API endpoint, and hit the "/html/sync" path.

Later, this will ideally live as a serverless plugin that lives in SLS HQ, that'll hook into the sls deploy trigger. Closing this for now.