1

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.

4
  • See if this helps: medium.com/@taleodor/…
    – taleodor
    Apr 29, 2020 at 0:35
  • @taleodor i don't use docker
    – nab
    May 5, 2020 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, 2020 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, 2020 at 8:14

1 Answer 1

1

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

1
  • can you post a code snippet ?
    – nab
    May 5, 2020 at 23:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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