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 10, 2024
1 parent 36b6c0d commit dbec48c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy_to_aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +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: |
aws s3 cp src/lambda.zip s3://${{ env.ENVIROMENT }}-${{ env.AWS_REGION }}-artifact-bucket --recursive
aws s3 cp lambda.zip s3://${{ env.ENVIROMENT }}-${{ env.AWS_REGION }}-artifact-bucket --recursive
Deploy:
runs-on: ubuntu-latest
needs: Build
Expand Down

0 comments on commit dbec48c

Please sign in to comment.