Gitlab page is stuck at pending

拈花ヽ惹草 提交于 2019-12-12 23:06:45

问题


I set up a Gitlab pages page a couple of days ago. It was building fine till this morning. Now it seems to be stuck at pending and hasn't built despite my attempts to restart it.

I checked if there is a shared runner. It currently says:

Available shared runners - 1

in the Runner section of Project Settings.

This is the .yml file.

pages:
  script:
  - mkdir .public
  - cp -r * .public
  - mv .public public
  artifacts:
    paths:
    - public
  only:
  - master

This code was recommended in the pages installation guide here.


I am aware that there is a similar question on stack overflow here, however that was resolved 4 months ago, and it seems the issue has re-emerged (at least for me).


回答1:


Assuming the file whose contents you've given above was called .gitlab-ci.yml, and your repository contained your website's HTML/CSS/JS/etc in the master branch, then you have probably done everything right.

That being so, what you ran into was probably this known issue, which is being tracked in at least two places:

https://gitlab.com/gitlab-com/support-forum/issues/765

https://gitlab.com/gitlab-com/support-forum/issues/771



来源:https://stackoverflow.com/questions/37326975/gitlab-page-is-stuck-at-pending

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!