title: GitLab Pages, docs generated with sphinx
body: <p>I want to host static page generated with Sphinx on GitLab Pages. Built <code>index.html</code> file is in:</p>
  
  <pre><code>project/docs/build/html
  </code></pre>
  
  <p>How  <code>.gitlab-ci.yml</code> should look like to deploy the page? I have something like that and it isn't working:</p>
  
  <pre><code>pages:
    stage: deploy
    script:
    - echo 'Nothing to do...'
   artifacts:
   paths:
   - docs/build/html
   only:
   - master
  </code></pre>