Deploy's to gitLab pages instantly fail
Summary
I have a build task which outputs to a folder called "dist" and a gitLab pages setup which simply publishes the artifacts "./dist" as a plain HTML site. The build succeeds but the deployment instantly fails every time.
Steps to reproduce
Have a gulp task called "publish" which creates a plain HTML site in the "dist" folder. Have a .gitlab-ci.yml file with the following contents:
image: node:4.2.2
pages:
cache:
paths:
- node_modules/
script:
- npm install gulp -g
- npm install tsd -g
- tsd install --config ./config/tsd.json
- npm install
- gulp publish
artifacts:
paths:
- ./dist
only:
- master
Expected behavior
I'd expect a published dist folder on my gitLab pages and a success badge next to my pipeline.
Relevant logs and/or screenshots
None available.
Output of checks
Results of GitLab Application Check
Not applicable.
Results of GitLab Environment Info
Not applicable.
Possible fixes
None yet.