Skip to content

GitLab Pages passes but then fails to deploy folder

Summary

GitLab Pages passes but then fails to deploy folder.

Steps to reproduce

Upload a website to a folder and mention it on the CI file, no command is required.

Expected behavior

Deploy the folder to tiferrei.gitlab.io/Website

Actual behavior

Deploy fails

Relevant logs and/or screenshots

.gitlab-ci.yml:

pages:
  script:
  - echo Updated website on $(date)
  artifacts:
    paths:
    - static

(All files are already present in the folder)

pages job log:

Running with gitlab-ci-multi-runner 1.10.4 (b32125f)
Using Docker executor with image ruby:2.1 ...
Pulling docker image ruby:2.1 ...
Running on runner-4e4528ca-project-2688877-concurrent-0 via runner-4e4528ca-machine-1486943298-ef03c7ff-digital-ocean-4gb...
Cloning repository...
Cloning into '/builds/tiferrei/Website'...
Checking out cef0a347 as master...
Skipping Git submodules setup
$ echo Updated website on $(date)
Updated website on Sun Feb 12 23:50:08 UTC 2017
Uploading artifacts...
static: found 115 matching files                   
Uploading artifacts to coordinator... ok            id=10350992 responseStatus=201 Created token=C-eGbNnY
Build succeeded

Pipeline screenshot:

Screen_Shot_2017-02-13_at_00.23.55

Output of checks

This bug happens on GitLab.com

Results of GitLab application Check

This bug happens on GitLab.com

Results of GitLab environment info

This bug happens on GitLab.com