removed serverless offline

This commit is contained in:
Khalim Conn-Kowlessar 2023-07-09 15:01:11 +01:00
parent ee35ad7bc7
commit 958b7db5c0
3 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
name: Serverless Deploy name: Fast Api Backend Deploy
on: on:
push: push:
@ -21,6 +21,7 @@ jobs:
run: | run: |
npm install -g serverless npm install -g serverless
npm install -g serverless-python-requirements npm install -g serverless-python-requirements
npm install -g
- name: Install dependencies - name: Install dependencies
run: | run: |

View file

@ -1,4 +1,4 @@
name: CI/CD Pipeline name: Deploy terraform stack
on: on:
push: push:

View file

@ -6,7 +6,7 @@ provider:
region: eu-west-2 region: eu-west-2
environment: environment:
API_KEY: ${env:API_KEY} API_KEY: ${env:API_KEY}
# ENVIRONMENT: ${self:provider.stage} # ENVIRONMENT: ${self:provider.stage}
ENVIRONMENT: 'local' ENVIRONMENT: 'local'
SECRET_KEY: ${env:SECRET_KEY} SECRET_KEY: ${env:SECRET_KEY}
ALGORITHM: ${env:ALGORITHM} ALGORITHM: ${env:ALGORITHM}
@ -18,7 +18,6 @@ package:
plugins: plugins:
- serverless-python-requirements - serverless-python-requirements
- serverless-offline
custom: custom:
pythonRequirements: pythonRequirements: