I am a new arrival to gitlab, coming from github after the microsoft take-over.
I have several repo’s which use the github.io github pages feature.
I have tried to get the gitlab version to work and sadly, just can’t seem to understand what to put in the:
.gitlab-ci.yml file
My example repo is:
gratefulfrog/Btest
The configuration after import seems ok. My goal is to create a pipeline that will create the static web page from the gh-pages branch, using the file:
index.html
as root.
My current .gitlab-ci.yml fails with pages:deploy - missing pages artefacts. The content of the file is below.
Any help would be great - sorry for such a noobie question!
Bob
pages:
stage: deploy
script:
- echo 'Nothing to do at all...'
artifacts:
only:
- gh-pages
- master
Hello, this was more of a generic hint. On github you needed to store stuff in a gh-pages branch, with GitLab you just call your doc creator and tell GitLab to create an artifact (there might even be separate ones for docs and other deliverables)