Skip to content

Merge pull request #83 from nationalarchives/renovate/aws-actions-con… #80

Merge pull request #83 from nationalarchives/renovate/aws-actions-con…

Merge pull request #83 from nationalarchives/renovate/aws-actions-con… #80

Workflow file for this run

name: Deploy lambda to AWS
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: aws-actions/setup-sam@v2
- uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-west-2
- run: sam build --use-container -m requirements/base.txt
- run: sam deploy --no-confirm-changeset --no-fail-on-empty-changeset --stack-name ds-caselaw-ingester --s3-bucket ingester-test-2 --capabilities CAPABILITY_IAM --region eu-west-2