build yml file
This commit is contained in:
parent
2ae9b9ed51
commit
7a083a1a84
18
buildspec.yml
Normal file
18
buildspec.yml
Normal file
@ -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'
|
Loading…
x
Reference in New Issue
Block a user