Skip to content

Commit

Permalink
fix : packaging dir
Browse files Browse the repository at this point in the history
  • Loading branch information
onesmus1024 committed Jan 11, 2024
1 parent dbec48c commit e70cba6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy_to_aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,15 @@ 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: |
aws s3api create-bucket --bucket ${{ env.ENVIRONMENT }}-${{ env.AWS_REGION }}-artifact-bucket
- 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
Expand Down

0 comments on commit e70cba6

Please sign in to comment.