Skip to content

Commit 240bf62

Browse files
committed
fix: uploadd to s3
1 parent 6ae546b commit 240bf62

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,14 @@ jobs:
4747
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
4848
aws configure set region ${{ secrets.AWS_REGION }}
4949
50+
- name: Upload to S3
51+
run: |
52+
aws s3 cp mutool-layer.zip s3://mutool-layer/mutool-layer.zip
53+
5054
- name: Deploy the layer to the artifact registry
5155
run: |
5256
aws lambda publish-layer-version \
5357
--layer-name mutool-layer \
54-
--zip-file fileb://mutool-layer.zip \
58+
--content S3Bucket=mutool-layer,S3Key=mutool-layer.zip \
5559
--compatible-runtimes nodejs20.x
5660
--region ${{ secrets.AWS_REGION }}

0 commit comments

Comments
 (0)