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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.