Amazon s3 AWS-S3 orb-圆CI-意外参数:参数
我的生成中出现以下错误:Amazon s3 AWS-S3 orb-圆CI-意外参数:参数,amazon-s3,circleci,circleci-2.0,Amazon S3,Circleci,Circleci 2.0,我的生成中出现以下错误: #!/bin/sh -eo pipefail # Error calling workflow: 'build-deploy' # Error calling job: 'build_test_es' # Error calling command: 'aws-s3/sync' # Unexpected argument(s): arguments # # ------- # Warning: This configuration was auto-generated
#!/bin/sh -eo pipefail
# Error calling workflow: 'build-deploy'
# Error calling job: 'build_test_es'
# Error calling command: 'aws-s3/sync'
# Unexpected argument(s): arguments
#
# -------
# Warning: This configuration was auto-generated to show you the message above.
# Don't rerun this job. Rerunning will have no effect.
false
Exited with code 1
这就是我的config.yml文件的外观,我已经删除了一些部分
version: 2.1
orbs:
aws-s3: circleci/aws-s3@1.0.0
jobs:
build_test_es:
docker:
- image: circleci/node:10.15
steps:
- checkout
- setup_remote_docker
- run:
name: NPM install
command: |
cd app
pwd
npm install
- run:
name: NPM build
command: |
cd app
pwd
npm run build
- run: mkdir bucket && echo "lorum ipsum" > bucket/build_asset.txt
- aws-s3/sync:
from: bucket
to: 's3://my-s3-bucket-name/prefix'
arguments: |
--acl public-read \
--cache-control "max-age=86400"
overwrite: true
如您所见,我正在使用文档中的默认命令:
球破了吗?我错打了什么东西吗 通过更新orb修复了它。浪费时间的好方法
version: 2.1
orbs:
aws-s3: circleci/aws-s3@1.0.3
通过更新orb修复了它。浪费时间的好方法
version: 2.1
orbs:
aws-s3: circleci/aws-s3@1.0.3