Deploy package with assets/resources CI/CD

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?