最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

GitLab Pages -- Pipeline (Deploy Stage Passing), but pages URL is missing - Stack Overflow

programmeradmin1浏览0评论

Summary

I am trying to deploy a static site to GitLab pages. My intended flow is as follows:

  1. Build the project locally (this is a static html, with some assets)
  2. Push it to GitLab --> Let the pipeline run
  3. Access the site

My Repo

The location of my repository is here!

My CI script is as follows:

pages:
  script:
    - mkdir -p public
    # - cp -R * public/  # Or any command to move your build output to the public folder
  artifacts:
    paths:
      - public
  only:
    - main  # Adjust to your branch if needed

Pipeline and Jobs

Notice that the pipeline successfully completed with two jobs:

  1. Test
  2. Deploy

pipeline to deploy static gitlab page

However, I cannot click into the deploy job to view the logs. And I also don't have the URL where my static site is hosted either.

You can see the actual pipeline ran here!

Thank you

Thanks in advance, and let me know if there are further information that can help troubleshooting.

Cheers Walakaka

Additional Note:

The closest issue I found was this link. But updating my script to follow the answer in the issue did not resolve it for me.

发布评论

评论列表(0)

  1. 暂无评论