I have Angular 5 application developed. I have added following yml file:
pipelines:
default:
- step:
caches:
- node
script: # Modify the commands below to build your repository.
- npm install
- npm install -g @angular/cli
- ng build --prod
- ls -ltr
- pwd
I can see dist folder generated in container using ng build and ls -ltr; However I am unsure about how shall I copy this dist folder to my servers tomcat directory.
Do I have to include gradle file for this ? or yet another step for gradle ? How to copy to my server ? commands for that ? and where should I include those in my yml file ?
My repo is here.
Thanks in advance