Skip to content

Commit 463c377

Browse files
a
1 parent bd890ce commit 463c377

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/actions/deploy/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ runs:
6868
--s3-bucket "codeforpoznan-lambdas"
6969
--s3-key "${{ inputs.aws-resource-name }}_serverless_api.zip"
7070
--function-name "${{ inputs.aws-resource-name }}_serverless_api"
71+
| echo jq 'del(.Environment, .VpcConfig, .Role, .FunctionArn)'
7172
7273
- name: backend / refresh lambdas (migration)
7374
shell: bash
@@ -76,6 +77,7 @@ runs:
7677
--s3-bucket "codeforpoznan-lambdas"
7778
--s3-key "${{ inputs.aws-resource-name }}_migration.zip"
7879
--function-name "${{ inputs.aws-resource-name }}_migration"
80+
| echo jq 'del(.Environment, .VpcConfig, .Role, .FunctionArn)'
7981
8082
- name: backend / run migration lambda
8183
shell: bash
@@ -87,7 +89,7 @@ runs:
8789
- name: backend / show migration output
8890
shell: bash
8991
run: >
90-
echo jq -s add ./*.json | jq -re '
92+
echo jq -s add ./*.json | echo jq -re '
9193
if .FunctionError then
9294
.FunctionError, .errorMessage, false
9395
else

0 commit comments

Comments
 (0)