diff --git a/.circleci/config.yml b/.circleci/config.yml index 92d9861..8888d2b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -277,10 +277,10 @@ jobs: key: offen-packages-{{ checksum "package.json" }} - run: name: Deploy - working_directory: ~/offen + working_directory: ~/offen/accounts command: | echo "Deploying accounts ..." - $(npm bin)/sls deploy --config accounts/serverless.yml + $(npm bin)/sls deploy deploy_golang: docker: diff --git a/accounts/serverless.yml b/accounts/serverless.yml index aaedaf7..e91e05d 100644 --- a/accounts/serverless.yml +++ b/accounts/serverless.yml @@ -14,9 +14,6 @@ provider: package: individually: true - excludeDevDependencies: false - exclude: - - '**/*' plugins: - serverless-domain-manager @@ -45,18 +42,15 @@ custom: endpointType: regional createRoute53Record: false wsgi: - app: accounts.accounts.app + app: accounts.app packRequirements: false pythonRequirements: slim: true dockerizePip: non-linux - fileName: accounts/requirements.txt + fileName: requirements.txt functions: app: - package: - include: - - accounts/**/* handler: wsgi_handler.handler events: - http: