I'm trying to build and deploy to heroku. on ng build --prod its creating dist folder and copy of the angular application .this is my yml file
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
- echo "$(ls dist/)"
- step:
name: deploy
script:
- pipe: atlassian/heroku-deploy:1.1.0
variables:
HEROKU_API_KEY: 8*/****8
HEROKU_APP_NAME: ****
ZIP_FILE: file-systme
Please help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.