admin管理员组文章数量:1390488
Summary
I am trying to deploy a static site to GitLab pages. My intended flow is as follows:
- Build the project locally (this is a static html, with some assets)
- Push it to GitLab --> Let the pipeline run
- 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:
- Test
- 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.
本文标签: GitLab PagesPipeline (Deploy Stage Passing)but pages URL is missingStack Overflow
版权声明:本文标题:GitLab Pages -- Pipeline (Deploy Stage Passing), but pages URL is missing - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744621158a2616032.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论