Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gmercyo committed Jan 15, 2024
1 parent 0c3893e commit 46e8b30
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,17 @@ jobs:
run: |
pipenv install -r requirements.txt
- name: Add environment variables to Zappa config
uses: jossef/[email protected]
with:
file: ./zappa_settings.json
field: prod.environment_variables.RAPID_API_KEY
value: ${{ secrets.RAPID_API_KEY }}

- name: Deploy to AWS Lambda
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
RAPID_API_KEY: ${{ secrets.RAPID_API_KEY }}

run: |
pipenv run zappa update prod

0 comments on commit 46e8b30

Please sign in to comment.