A
A
Alexey So2020-01-24 12:50:36
GitLab
Alexey So, 2020-01-24 12:50:36

How to automatically deploy and build frontend?

Good afternoon, please give advice/example.
We use both gulp and webpack (the essence will not change)
Developers work on the local machine, then everything is merged into gitlab, tested, and merged into the master.
There is a demo server on linux.
In fact, what happens at the bench is the following happens: git pull && gulp build
Auto-deploy is not configured, I would be grateful if someone has simple examples of how this can be done without Jenkins (I don’t want to take it on the front).
But the main question is: what is the best way to do it?
There was an idea to make a hook after MR, but I have not yet launched changes to the server to rebuild the project.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Karasik, 2020-01-24
@vitaly_il1

if anyone has simple examples how can this be done without jenkins

with gitlab CI - https://docs.gitlab.com/ee/ci/quick_start/
I'm not sure I understood the question, but look at the examples - it's simple. It can be done with commit to master (==merge), it can be done with commit to branch with open PR, etc. - everything is implemented very simply with any CI.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question