title: Gitlab-runner run too long
body: <p>I made a static site and now trying to configure GitLab CI/CD.</p>
  
  <p>The source code for the site is on a remote server.</p>
  
  <p>This is my gitlab-ci.yml</p>
  
  <pre><code>image: ruby:2.6
  
  
  variables:
    JEKYLL_ENV: production
  
  before_script:
    - gem install bundler
    - bundle install
  
  deploy:
    stage: deploy
    script:
    - bundle exec jekyll build --watch 
  
    only:
      - master
  </code></pre>
  
  <p>I use <code>--watch</code> because without using --watch job passed correctly, changes are displayed on the local computer, but no updates are displayed on the remote server.</p>
  
  <p>There is a line in the answer:</p>
  
  <p><code>Auto-regeneration: disabled for '/ builds / wiki / docplus'. Use --watch to enable</code></p>
  
  <p>But with <code>--watch</code> I push my commits and gitlab-runner runs too long and job failed</p>
  
  <pre><code>$ bundle exec jekyll build --watch
  Configuration file: /builds/wiki/docplus/_config.yml
              Source: /builds/wiki/docplus
         Destination: /builds/wiki/docplus/_site
   Incremental build: disabled. Enable with --incremental
        Generating... 
                      done in 1.863 seconds.
   Auto-regeneration: enabled for '/builds/wiki/docplus'
  Pulling docker image gitlab/gitlab-runner-helper:x86_64-003fe500 ...
  ERROR: Job failed: execution took longer than 1h0m0s seconds
  </code></pre>
  
  <p>What's wrong?</p>