|image: node:6.5.0 # can be upgraded, depending on your node version used|
|- npm install|
|- npm run build|
|- rm -rf public|
|- mv build public|
|- public # mandatory, other folder won't work|
|- master # or dev, the branch you want to publish|
If you want to speed up the build pipeline, cache your
Note: gitlab takes a few minutes after the pipeline passes for your page to appear.
Can you help me?
EDIT: Solved it! It was a problem with React Router.
I just leave the comment here, if someone encounters the same problem!
Very helpful @aleturolla that saved me some time today.