From 545edf356e19ca84545a77be19d746415f1563af Mon Sep 17 00:00:00 2001 From: Chris Pates Date: Fri, 24 Jun 2022 15:35:00 +0100 Subject: [PATCH] Update buildspec.yml --- cicd/publish/buildspec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cicd/publish/buildspec.yml b/cicd/publish/buildspec.yml index 1392a4c1..6abf4d19 100644 --- a/cicd/publish/buildspec.yml +++ b/cicd/publish/buildspec.yml @@ -33,11 +33,11 @@ phases: aws ssm put-parameter --name "SSOSync/Staging/Version" --value ${AppVersion} --type String # remove the previous builds - #- aws serverlessrepo delete-application --application-id ${AppARN} + #- aws serverlessrepo delete-application --application-id ${AppArn} # Package our application with AWS SAM - echo sam publish --template packaged.yaml --semantic-version ${AppVersion} - sam publish --template packaged.yaml --semantic-version ${AppVersion} # Share with the StagingAccount - - aws serverlessrepo put-application-policy --application-id ${AppARN} --statements Principals=${ShareWith},Actions=Deploy + - aws serverlessrepo put-application-policy --application-id ${AppArn} --statements Principals=${ShareWith},Actions=Deploy