Skip to content

Merge pull request #6 from JuliaDeNadai/cd #4

Merge pull request #6 from JuliaDeNadai/cd

Merge pull request #6 from JuliaDeNadai/cd #4

name: CD
on:
push:
branches:
- main
jobs:
continuous-deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Zip Files
run: |
zip -r deployment.zip .
- name: Send to Lambda
uses: appleboy/[email protected]
with:
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_region: ${{ secrets.AWS_REGION }}
function_name: brainAgriculture
zip_file: deployment.zip