Skip to content

Commit

Permalink
fix lambda deployment ymls
Browse files Browse the repository at this point in the history
  • Loading branch information
threnjen committed Nov 18, 2024
1 parent bd3603a commit 45975ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lambda_deployments_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
role-to-assume: ${{ secrets.AWS_GITHUB_ROLE }}
aws-region: ${{ secrets.AWS_REGION }}
- run: |
cd lambda_functions
cd modules/lambda_functions
aws lambda update-function-code --function-name=dev_bgg_scraper_fargate_trigger --zip-file=fileb://bgg_scraper_fargate_trigger.zip > /dev/null 2>&1
aws lambda update-function-code --function-name=dev_bgg_cleaner_fargate_trigger --zip-file=fileb://bgg_cleaner_fargate_trigger.zip > /dev/null 2>&1
aws lambda update-function-code --function-name=dev_bgg_generate_game_urls --zip-file=fileb://generate_game_urls_lambda.zip > /dev/null 2>&1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lambda_deployments_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v2
- name: Zip functions
run: |
cd lambda_functions
cd modules/lambda_functions
zip -r bgg_scraper_fargate_trigger.zip bgg_scraper_fargate_trigger.py ../config.py ../utils
zip -r bgg_cleaner_fargate_trigger.zip bgg_cleaner_fargate_trigger.py ../config.py ../utils
zip -r generate_game_urls_lambda.zip generate_game_urls_lambda.py ../config.py ../utils
Expand All @@ -29,7 +29,7 @@ jobs:
role-to-assume: ${{ secrets.AWS_GITHUB_ROLE }}
aws-region: ${{ secrets.AWS_REGION }}
- run: |
cd lambda_functions
cd modules/lambda_functions
aws lambda update-function-code --function-name=bgg_scraper_fargate_trigger --zip-file=fileb://bgg_scraper_fargate_trigger.zip > /dev/null 2>&1
aws lambda update-function-code --function-name=bgg_cleaner_fargate_trigger --zip-file=fileb://bgg_cleaner_fargate_trigger.zip > /dev/null 2>&1
aws lambda update-function-code --function-name=bgg_generate_game_urls --zip-file=fileb://generate_game_urls_lambda.zip > /dev/null 2>&1
Expand Down

0 comments on commit 45975ee

Please sign in to comment.