mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
removed serverless offline
This commit is contained in:
parent
ee35ad7bc7
commit
958b7db5c0
3 changed files with 4 additions and 4 deletions
3
.github/workflows/deploy_fastapi_backend.yml
vendored
3
.github/workflows/deploy_fastapi_backend.yml
vendored
|
|
@ -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: |
|
||||||
|
|
|
||||||
2
.github/workflows/deploy_terraform.yml
vendored
2
.github/workflows/deploy_terraform.yml
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
name: CI/CD Pipeline
|
name: Deploy terraform stack
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue