diff --git a/.github/workflows/deploy-lambdas.yml b/.github/workflows/deploy-lambdas.yml index 0be2379d2f3..8729b133c70 100644 --- a/.github/workflows/deploy-lambdas.yml +++ b/.github/workflows/deploy-lambdas.yml @@ -2,8 +2,8 @@ name: Deploy lambdas to S3 and ECR on: push: - branches: - - master + # branches: + # - master paths: - '.github/workflows/deploy-lambdas.yml' - 'lambdas/**' @@ -51,6 +51,9 @@ jobs: aws-region: us-east-1 - name: Upload zips to Prod S3 run: | + git config --get remote.origin.url + git diff-index HEAD -- + git rev-parse HEAD s3_key="${{ matrix.path }}/${{ github.sha }}.zip" ./lambdas/scripts/upload_zip.sh ./out.zip "$AWS_REGION" "$s3_key" - name: Configure AWS credentials from GovCloud account