Merge pull request #17 from Hestia-Homes/main

aaded temp environment variables to serverless github actions
This commit is contained in:
KhalimCK 2023-07-09 14:51:18 +01:00 committed by GitHub
commit ad50158833
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}