version: 0.2
phases:
install:
runtime-versions:
php: 7.3
pre_build: # commands to be run before build
commands:
- aws --version
build:
commands:
- echo Build started on `date`
- echo installing composer..
- composer install
- echo creating .env file..
- cp .env.example .env
- echo generating app key
- php artisan key:generate
- echo Building the Docker image...
post_build:
commands:
- echo Build completed on `date`
Это мой файл спецификаций сборки, который использовался для создания конвейера в was.once, когда я внес изменения в git hub, он полностью распространится на раздел сборки. Но когда дело доходит до стадии развертывания, я получаю следующую ошибку.
The action failed because either the artifact or the Amazon S3 bucket could not be found. Name of artifact bucket: codepipeline-us-east-1-245934183698. Verify that this bucket exists. If it exists, check the life cycle policy, then try releasing a change.