diff --git a/serverless.yml b/serverless.yml index 78519513..4c6d96dc 100644 --- a/serverless.yml +++ b/serverless.yml @@ -33,8 +33,10 @@ package: - '!backend/tests/**' - 'recommendations/**' - '!recommendations/tests/**' - - 'model_data/BaseUtility.py' + # Exclude all of model_data but then re-include the files we need - '!model_data/**' + - 'model_data/BaseUtility.py' + - 'model_data/__init__.py' - '!infrastructure/**' - '!data_collection/**' - '!node_modules/**' @@ -42,6 +44,7 @@ package: - '!open_uprn/**' - '!land_registry/**' - '!pytest.ini' + - '**/README.md' plugins: