mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
aaded temp environment variables to serverless github actions
This commit is contained in:
parent
744bdda044
commit
406162cd4b
1 changed files with 9 additions and 0 deletions
9
.github/workflows/deploy_fastapi_backend.yml
vendored
9
.github/workflows/deploy_fastapi_backend.yml
vendored
|
|
@ -42,4 +42,13 @@ jobs:
|
|||
aws-region: eu-west-2
|
||||
|
||||
- name: Deploy to AWS Lambda via Serverless
|
||||
env:
|
||||
# These will be in inserted for real
|
||||
# API_KEY: ${{ secrets.API_KEY }}
|
||||
# SECRET_KEY: ${{ secrets.SECRET_KEY }}
|
||||
# ALGORITHM: ${{ secrets.ALGORITHM }}
|
||||
API_KEY: 'example-api-key'
|
||||
ENVIRONMENT: ${{ github.ref_name }}
|
||||
SECRET_KEY: 'YOUR_SECRET_KEY'
|
||||
ALGORITHM: 'HS256'
|
||||
run: cd backend && sls deploy --stage ${{ github.ref_name }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue