H
H
HohSkiller2021-01-20 09:52:35
GitHub
HohSkiller, 2021-01-20 09:52:35

React GitHub pages, how to update the code already on the finished repository?

I uploaded a project written in React to github pages, what should I prescribe to update it? That is, to update the page on this free hosting, how to push a new code. Tried to find the answer, unsuccessfully, I think some of you have come across this know the solution.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav, 2021-01-20
@HohSkiller

1. Set up gitlab.ci so that the React application automatically builds in the folder where you open pages
2. write:

git pull
git add .
git commit -m "update"
git push

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question