2

I managed to build and deploy my project to Gitlab pages, but when I try to access it, it's blank. Here is the repo: https://gitlab.com/grabtools/content_check
You can see in CI/CD the pipeline passed and the artifact is in public.

I'm new to web and just playing around with flutter so I have no idea what's wrong.

Thanks

Son Nguyen
  • 1,124
  • 2
  • 10
  • 24

1 Answers1

3

Try to change your --base-href /repo_name/ and build like

  stage: deploy
  script:
    - flutter build web --release --web-renderer html --base-href /content_check/
Md. Yeasin Sheikh
  • 54,221
  • 7
  • 29
  • 56