Skip to content

Commit

Permalink
Update buildspec.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPates committed Jun 24, 2022
1 parent 22aab3a commit 545edf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cicd/publish/buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 545edf3

Please sign in to comment.