aaded temp environment variables to serverless github actions

This commit is contained in:
Khalim Conn-Kowlessar 2023-07-09 14:50:59 +01:00
parent 744bdda044
commit 406162cd4b

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