# Deploy package with assets/resources CI/CD

**URL:** <https://forum.serverless.com/t/deploy-package-with-assets-resources-ci-cd/10126>\
**Category:** Serverless Framework\
**Tags:** aws\
**Created:** [December 22, 2019, 3:39pm UTC](https://forum.serverless.com/t/deploy-package-with-assets-resources-ci-cd/10126 "2019-12-22T15:39:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex25784](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/alex25784/32/3773_2.png) [@alex25784](https://forum.serverless.com/u/alex25784)\
**Post date:** [December 22, 2019, 3:39pm UTC](https://forum.serverless.com/t/deploy-package-with-assets-resources-ci-cd/10126/1 "2019-12-22T15:39:23Z")

</div>

I am new to sls, and I want to achieve the following :

I have a Lambda that generates a web page.  
I am using s3deploy to upload assets( img,html templates…) .

In simple what my sls deploy does is deploying a lambda and uploads to S3 some images that been used by the Lambda.

My question is how can I package those images so that when I do sls deploy package it will use them with the deployment.

So if i package now my project, and in the next version i am changing the background image of my website , then i want to rollback to version 1.

what is the best practise using sls framework?
