diff --git a/.github/workflows/deploy_to_aws.yml b/.github/workflows/deploy_to_aws.yml index d1b1210..48e8a13 100644 --- a/.github/workflows/deploy_to_aws.yml +++ b/.github/workflows/deploy_to_aws.yml @@ -107,7 +107,7 @@ jobs: pyproject.toml pip install -r requirements.txt -t src/ cd src/ - zip -r ../lambda.zip . + zip -r lambda.zip . - name: Create Artifact Bucket run: | @@ -115,6 +115,7 @@ jobs: - name: Upload Artifact to S3 run: | + cd src/ aws s3 cp lambda.zip s3://${{ env.ENVIROMENT }}-${{ env.AWS_REGION }}-artifact-bucket --recursive Deploy: runs-on: ubuntu-latest