当我们推送到master分支时,我试图从bitbucket自动将angular应用程序部署到heroku.Creates构建正确,但是在部署它会引发错误。 这是我的.yml文件
image: node:10.15.3
pipelines:
default:
- step:
caches:
- node
script: # Modify the commands below to build your repository.
- npm install
- npm test
branches:
master:
- step:
name: Build app
script:
- npm install
- npm install -g @angular/cli
- ng build --prod --build-optimizer --progress=false
artifacts:
- file-systme.tgz
- step:
name: Deploy to production
deployment: production
script:
- pipe: atlassian/heroku-deploy:1.1.0
variables:
HEROKU_API_KEY: '**'
HEROKU_APP_NAME: 'xyz'
ZIP_FILE: 'file-systme.tgz'
请帮助 编辑: FileNotFoundError:[错误2]没有这样的文件或目录:file-systme.tgz