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

Run npm install post deployment

rob williams
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 16, 2018

We have a .NET/Angular 4 project that builds and deploys from BitBucket to our AWS IIs instance.

We don't want to track the node_modules folder and push them to BitBucket or from the Bamboo build instance to the deployment server for obvious reasons. 

What we'd like to do is run "npm install" post deployment on the webserver, and let npm do it's package managing thing, vs. pushing the node_modules folder from BitBucket to the Bamboo build instance to the webserver.

Is this possible?

1 answer

1 vote
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 20, 2018

Use SSH task to run 'npm install' command as part of your deployment steps

sisir November 7, 2018

@Alexey ChystoprudovCould you add more information on this. I also need to do the same!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events