File tree Expand file tree Collapse file tree 3 files changed +6
-12
lines changed
Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -134,14 +134,14 @@ jobs:
134134 run : |
135135 aws s3 cp \
136136 s3://${{ steps.tf_output.outputs.bucket_name }}/artifacts/${{ needs.metadata.outputs.tag }}/lambda.zip \
137- ./build /lambda.zip \
137+ ./dist /lambda.zip \
138138 --region eu-west-2
139139
140140 - name : " Upload lambda artifact for the current workflow"
141141 uses : actions/upload-artifact@v4
142142 with :
143143 name : lambda-${{ needs.metadata.outputs.tag }}
144- path : ./build /lambda.zip
144+ path : ./dist /lambda.zip
145145
146146
147147 deploy :
@@ -169,7 +169,7 @@ jobs:
169169 uses : actions/download-artifact@v5
170170 with :
171171 name : lambda-${{ needs.metadata.outputs.tag }}
172- path : ./build
172+ path : ./dist
173173
174174 - name : " Configure AWS Credentials"
175175 uses : aws-actions/configure-aws-credentials@v5
@@ -206,7 +206,7 @@ jobs:
206206
207207 - name : " Upload lambda artifact to S3"
208208 run : |
209- aws s3 cp ./build /lambda.zip \
209+ aws s3 cp ./dist /lambda.zip \
210210 s3://${{ steps.tf_output.outputs.bucket_name }}/artifacts/${{ needs.metadata.outputs.tag }}/lambda.zip \
211211 --region eu-west-2
212212
Original file line number Diff line number Diff line change 8787 name : lambda-${{ needs.metadata.outputs.version }}
8888 path : dist/lambda.zip
8989
90- - name : " Download Built Lambdas"
91- uses : actions/download-artifact@v5
92- with :
93- name : lambda-${{ needs.metadata.outputs.version }}
94- path : ./build
95-
9690 - name : " Configure AWS Credentials"
9791 uses : aws-actions/configure-aws-credentials@v5
9892 with :
Original file line number Diff line number Diff line change 7777 uses : actions/download-artifact@v5
7878 with :
7979 name : lambda-${{ needs.metadata.outputs.tag }}
80- path : ./build
80+ path : ./dist
8181 run-id : ${{ github.event.workflow_run.id }}
8282 github-token : ${{ github.token }}
8383
@@ -108,7 +108,7 @@ jobs:
108108
109109 - name : " Upload lambda artifact to S3"
110110 run : |
111- aws s3 cp ./build /lambda.zip \
111+ aws s3 cp ./dist /lambda.zip \
112112 s3://${{ steps.tf_output.outputs.bucket_name }}/artifacts/${{ needs.metadata.outputs.tag }}/lambda.zip \
113113 --region eu-west-2
114114
You can’t perform that action at this time.
0 commit comments