Skip to content

Commit

Permalink
Update api-waf-sync-test-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ashley-weaver committed Oct 4, 2024
1 parent 85bf0a4 commit 4d29e1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/api-waf-sync-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
env:
ACCOUNT_ID: ${{ secrets.ACCOUNT_ID }}
run: ENV=test go test
- name: Upload and reload #TODO: need s3 bucket for test?
- name: Upload and reload #TODO: need s3 bucket and lambda function for test?
run: |
aws s3 cp --no-progress function.zip \
s3://dpc-dev-api-waf-sync-function/function-${{ github.sha }}.zip
aws lambda update-function-code --function-name dpc-test-api-waf-sync \
aws lambda update-function-code --function-name dpc-dev-api-waf-sync \
--s3-bucket dpc-test-api-waf-sync-function --s3-key function-${{ github.sha }}.zip

0 comments on commit 4d29e1a

Please sign in to comment.