# Add GitLab CI/CD

This recipe helps you setup GitLab CI/CD in your Gatsby site to create a pipeline on gitlab.com.

This recipe:

---

Adds the `.gitlab-ci.yml`.

<File
  path=".gitlab-ci.yml"
  content="https://gist.githubusercontent.com/puzzledbytheweb/40028c837e1c20859b7f65bfe92879f1/raw/3ee7d97a4ab2b1e106a3c8a2f031d9a22b6222af/.gitlab-ci.yml"
/>

---

After installing this recipe, every time you `git push <you-remote-gitlab-repo>` you will have your gatsby project building.

More resources:

- See how you can develop this simple file into something more real world [GitLab CI/CD Docs](https://docs.gitlab.com/ee/ci/README.html)
- Check this especially to learn how to make your newly build available for a next job - [GitLab Job Artifacts Docs](https://docs.gitlab.com/ee/ci/pipelines/job_artifacts.html)
- [Getting started with GitLab CI/CD](https://gitlab.com/help/ci/quick_start/README)
