Skip to content

Commit

Permalink
Revert "Remove serverless plugin config from serverless file"
Browse files Browse the repository at this point in the history
This reverts commit f2fff7a.
  • Loading branch information
mgdaily committed Jun 19, 2024
1 parent f2fff7a commit ebae40b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ jobs:

# Install serverless
- name: Install Serverless
run: npm install -g serverless
run: |
npm install -g serverless &&
npm install --save serverless-python-requirements
# Install Node dependencies
- name: Set up Environment
Expand Down
6 changes: 6 additions & 0 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ package:
- '!.pytest_cache/**'
- '!.vscode/**'

plugins:
- serverless-python-requirements
- serverless-domain-manager
- serverless-prune-plugin
- serverless-offline

custom:
# This is the 'variable' for the customDomain.basePath value, based on the stage.
# Run as `sls deploy --stage <stage_name>`
Expand Down

0 comments on commit ebae40b

Please sign in to comment.