I have a nodejs application using expressjs. This server is handing a website built on vuejs, an application using angular and another angular app. Everything is working and I deployed to AWS eb using a pipeline. The problem is when a website change is made I build it and commit the change to AWS code commit.

Is there a way to make this automatic?

Should I keep all projects in the same repo?

What I want is: website change -> commit -> build website only -> push to AWS.

The only solution I can think of is to rebuild the 3 projects every time.

  • See if this helps: medium.com/@taleodor/…
    – taleodor
    Apr 29 '20 at 0:35
  • @taleodor i don't use docker
    – ChiKa LiO
    May 5 '20 at 23:50
  • Hm, why would it matter? Docker is absolutely not required there. The idea is that you need to check your directories for changes against previous state.
    – taleodor
    May 5 '20 at 23:57
  • "Is there a way to make this automatic?" Not quite sure what part isn't automatic yet. You mean the actual build & deploy steps aren't automatic? May 28 '20 at 8:14

I would suggest adding a job that checks changes in the latest commit and build only that service where some files have been changed.

  • can you post a code snippet ?
    – ChiKa LiO
    May 5 '20 at 23:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.