title: How to update repository with built project?
body: <p>I’m trying to set up GitLab CI/CD for an old client-side project that makes use of Grunt (<a href="https://github.com/yeoman/generator-angular" rel="nofollow noreferrer">https://github.com/yeoman/generator-angular</a>).</p>
  
  <p>Up to now the deployment worked like this:</p>
  
  <ul>
  <li>run ’$ grunt build’ locally which built the project and created files in a ‘dist’ folder in the root of the project</li>
  <li>commit changes</li>
  <li>changes pulled onto production server</li>
  </ul>
  
  <p>After creating the .gitlab-ci.yml and making a commit, the GitLab CI/CD job passes but the files in the ‘dist’ folder in the repository are not updated. If I define an artifact, I will get the changed files in the download.  However I would prefer the files in ‘dist’ folder in the to be updated so we can carry on with the same workflow which suits us. Is this achievable?</p>