-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates 2024-07-08 - Lambda zip prep
- Loading branch information
1 parent
e51a869
commit 554d40e
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,12 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Zip the lambda_jobs directory | ||
run: zip -r lambda_jobs.zip ./herding_cats_pipelines/lambda_jobs | ||
- name: Install dependencies and zip Lambda function | ||
run: | | ||
cd ./herding_cats_pipelines/lambda_jobs | ||
pip install -r requirements.txt -t ./package | ||
cp *.py ./package/ | ||
cd ./package && zip -r ../../lambda_jobs.zip . | ||
- name: Configure AWS credentials | ||
uses: aws-actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters