From 7a083a1a849a2b034a0c2a7dee8fcc97a3e3771f Mon Sep 17 00:00:00 2001 From: kennedy Date: Mon, 18 Jul 2022 22:19:51 +0300 Subject: [PATCH] build yml file --- buildspec.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 buildspec.yml diff --git a/buildspec.yml b/buildspec.yml new file mode 100644 index 0000000000..685e646991 --- /dev/null +++ b/buildspec.yml @@ -0,0 +1,18 @@ +version: 0.2 + +phases: + install: + runtime-versions: + php: 7.3 + commands: + - composer install + post_build: + commands: + # Do not remove this statement. This command is required for AWS CodeStar projects. + # Update the AWS Partition, AWS Region, account ID and project ID in the project ARN in template-configuration.json file so AWS CloudFormation can tag project resources. + - sed -i.bak 's/\$PARTITION\$/'${PARTITION}'/g;s/\$AWS_REGION\$/'${AWS_REGION}'/g;s/\$ACCOUNT_ID\$/'${ACCOUNT_ID}'/g;s/\$PROJECT_ID\$/'${PROJECT_ID}'/g' template-configuration.json + +artifacts: + files: + - '**/*' + - 'template-configuration.json'