# Please note, this github work flows assumes that shared-terrform is deployed in aws env # The shared-terraform files lives in https://github.com/Hestia-Homes/survey-extraction/tree/main/deployment/lambda/lambda_shared name: Deploy Lambdas on: push: branches: [main, feature/whlg_lambda] env: AWS_REGION: eu-west-2 jobs: whlg-calc: runs-on: ubuntu-latest permissions: id-token: write contents: read steps: - name: Checkout repo uses: actions/checkout@v4 - name: Build and deploy Warm Homes Local Grant Calc (whlg-calc) uses: ./.github/workflows/actions/lambda-deploy with: ecr_name: whlg_calc_adhoc_ecr dockerfile_path: ./deployment/lambda/whlg_calculator/docker/Dockerfile ecr_tf_dir: ./deployment/lambda/whlg_calculator/docker/ lambda_tf_dir: ./deployment/lambda/whlg_calculator/ aws-access-key-id: ${{ secrets.DEV_AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.DEV_AWS_SECRET_ACCESS_KEY}} aws-region: eu-west-2 git-sha: ${{ github.sha }} git-ref: ${{ github.ref_name }}