Skip to content

Commit 0d8b430

Browse files
committed
chore: rm -f ${{ env.APP_SPEC_FILE }}
1 parent 38bfc21 commit 0d8b430

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -103,17 +103,8 @@ jobs:
103103
aws_oidc_role_arn: ${{ env.AWS_OIDC_ROLE_ARN }}
104104
just_action: lambda-create-version
105105

106-
- name: read output from script
107-
run: |
108-
echo "Script output: ${{ steps.lambda-get-version.outputs.just_outputs }}"
109-
VERSION="${{ steps.lambda-get-version.outputs.just_outputs }}"
110-
NEW_VERSION="${{ steps.lambda-create-version.outputs.just_outputs }}"
111-
echo "Parsed VERSION=$VERSION"
112-
echo "Parsed NEW_VERSION=$NEW_VERSION"
113-
114106
- name: Prepare AppSpec File
115107
run: |
116-
rm -f ${{ env.APP_SPEC_FILE }}
117108
echo "::notice::Preparing update for ${{ steps.get-api-vars.outputs.lambda_function_name }} from v${{ steps.lambda-get-version.outputs.just_outputs }} to v${{ steps.lambda-create-version.outputs.just_outputs }}"
118109
sed -i 's|{{FUNCTION_NAME}}|${{ steps.get-api-vars.outputs.lambda_function_name }}|g' ${{ env.APP_SPEC_FILE }}
119110
sed -i 's|{{FUNCTION_ALIAS}}|${{ steps.get-api-vars.outputs.alias_name }}|g' ${{ env.APP_SPEC_FILE }}

0 commit comments

Comments
 (0)