From 4a28997f88cd7c8f817c2536b51a6d28cde13eb5 Mon Sep 17 00:00:00 2001 From: Tim Myers Date: Wed, 22 Feb 2023 14:15:23 -0700 Subject: [PATCH] fix: aws cli cmd --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a17dc9c..6476843 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -79,9 +79,12 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Deploy to App Runner run: | - aws apprunner update-service --service-arn ${{ secrets.APPRUNNER_SERVICE_ARN }} "`cat << EOF + cat << EOF > new_image.yaml + ServiceArn: ${{ secrets.APPRUNNER_SERVICE_ARN }} SourceConfiguration: ImageRepository: ImageIdentifier: public.ecr.aws/s5k1g2u8/infrakit:${{ steps.semantic.outputs.new_release_version }} ImageRepositoryType: ECR_PUBLIC - EOF`" + EOF + aws apprunner update-service --cli-input-yaml file://new_image.yaml + \ No newline at end of file