I'm developing a webpage on Angular 9.1.9 and deploying on Gitlab Pages. I've managed to deploy it but the Angular Build seems not to show on the page but the build code is uploaded.
We just gave up and deployed it on netlify, and it works, but we want to learn to make it work on Gitlab
Here is the repository with all the code: https://gitlab.com/neural-fuse/neural-fuse/-/tree/develop
Here is the deployment and the Angular Build (in the browse button); and the .gitlab-ci.yml code:
image: node:13.0.1
pages:
cache:
paths:
- node_modules/
stage: deploy
script:
- npm install -g @angular/[email protected]
- npm install
- ng build --prod
- mkdir public
- mv dist/neural-fuse/* public
artifacts:
paths:
- public
only:
- develop