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).