pages:
script:
- npm install
- npm run build
- rm -rf public
- mv build public
artifacts:
paths:
- public
only:
- master
stage: deploy
pages:
script:
- npm install
- npm run build
- rm -rf public
- mv build public
artifacts:
paths:
- public
only:
- master
stage: deploy
I manage to fix my issue. I forgot to add the homepage url in my package.json. All good now