- Copy paste the yaml file to your gitlab repo
- Change the url in PUBLIC_URL
- Go to your file where you use
<BrowserRouter>
(usually index.js or App.js) and addbasename
prop to the router:
<BrowserRouter basename={process.env.PUBLIC_URL}>
- After deployment got to your pages url and enjoy working app.