# Package on gitlab not github

**URL:** <https://discourse.julialang.org/t/package-on-gitlab-not-github/86637>\
**Category:** General Usage\
**Created:** [September 1, 2022, 11:26am UTC](https://discourse.julialang.org/t/package-on-gitlab-not-github/86637 "2022-09-01T11:26:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![digital\_carver](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/digital_carver/32/33818_2.png) [@digital\_carver](https://discourse.julialang.org/u/digital_carver)\
**Post date:** [September 1, 2022, 11:36am UTC](https://discourse.julialang.org/t/package-on-gitlab-not-github/86637/2 "2022-09-01T11:36:34Z")

</div>

Hi

Gitlab is perfectly fine to use for Julia packages, and so is any other git host. Github is used as the most common example because it is the most popular one and widely used within the Julia community (for better or worse), but it’s not necessary to use it.

PkgTemplates.jl has a Github Actions plugin, but right next to it you can see that it also has a [GitLab CI](https://invenia.github.io/PkgTemplates.jl/stable/user/#PkgTemplates.GitLabCI) (for handling continuous integration tasks when using Gitlab).  
In the main `Template` call, you can see for the `user` keyword, it says “GitHub ( **or other code hosting service** ) username”.  
And for `host` it says:

> - `host::AbstractString="github.com"`: URL to the code hosting service where packages will reside.

i.e. `"github.com"` is the _default_ if no `host` is specified, but you can instead specify your Gitlab instance’s URL here to use that instead.

---

_[View the full topic](https://discourse.julialang.org/t/package-on-gitlab-not-github/86637)._
