I’m trying to host my static Angular site on Gitlab Pages, but when I try to navigate to the site, it loads a blank page, which does not happen when I serve it locally. I’m following the instructions on the Angular docs here https://angular.io/start/start-deployment, which says that the static files are located here:
Here is my Gitlab CI (which passes):
image: node:latest pages: cache: paths: - node_modules/ stage: deploy script: - npm install -g @email@example.com - npm install - ng build --prod - mkdir public - mv dist/my-website/* public/ artifacts: paths: - public only: - master
Does anyone happen to know why my Angular site isn’t appearing as intended?