Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket pipeline for Angular 7 build and deploy on heroku

karthik nayak December 6, 2019

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 

1 answer

0 votes
Peter Plewa
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 16, 2020

Hi @karthik nayak

What is the error you're getting?

Thanks,
Peter

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events