Reputation: 599
GitLab (specifically Gitlab.com), not Github.
I'm using Gulp and producing a release
folder with my processed files.
release/
index.html
src/
When making this work for GitLab pages, can I have it use release/index.html
? I still need the src/
folder in the repo.
Upvotes: 1
Views: 3717
Reputation: 4675
No, that's not possible.
The HTML files need to be in a folder called public
at the root of your repository.
If you rename the release
folder to public
then you have to create a job named pages
in your .gitlab-ci.yml
file. You can even do the renaming within that job.
pages:
stage: deploy
script:
- mv release public
artifacts:
paths:
- public
Upvotes: 4