mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Added secrets to actions file
This commit is contained in:
parent
9230aa294f
commit
7cafdcd772
1 changed files with 2 additions and 6 deletions
8
.github/workflows/deploy_fastapi_backend.yml
vendored
8
.github/workflows/deploy_fastapi_backend.yml
vendored
|
|
@ -45,13 +45,9 @@ jobs:
|
|||
|
||||
- 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'
|
||||
API_KEY: ${{ secrets.FASTAPI_API_KEY }}
|
||||
ENVIRONMENT: ${{ github.ref_name }}
|
||||
SECRET_KEY: 'YOUR_SECRET_KEY'
|
||||
SECRET_KEY: ${{ secrets.NEXTAUTH_SECRET }}
|
||||
ALGORITHM: 'HS256'
|
||||
PLAN_TRIGGER_BUCKET: 'retrofit-plan-inputs-${{ github.ref_name }}'
|
||||
run: cd backend && sls deploy --stage ${{ github.ref_name }} --verbose
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue