# Deploying username.github.io with Franklin.jl

**URL:** <https://discourse.julialang.org/t/deploying-username-github-io-with-franklin-jl/52966>\
**Category:** General Usage\
**Tags:** question, package, franklin\
**Created:** [January 6, 2021, 11:05pm UTC](https://discourse.julialang.org/t/deploying-username-github-io-with-franklin-jl/52966 "2021-01-06T23:05:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cadojo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cadojo/32/25328_2.png) [@cadojo](https://discourse.julialang.org/u/cadojo)\
**Post date:** [January 6, 2021, 11:05pm UTC](https://discourse.julialang.org/t/deploying-username-github-io-with-franklin-jl/52966/1 "2021-01-06T23:05:01Z")

</div>

I’m trying to publish a static webpage to [cadojo.github.io](http://cadojo.github.io) with `Franklin.jl` (my username is `cadojo` on GitHub).

When I use `Franklin.serve()`, the webpage loads as expected:

 ![Screen Shot 2021-01-06 at 6.01.53 PM](https://global.discourse-cdn.com/julialang/original/3X/4/7/470f0813860e35216ebfb21638f615968cf4c6bd.jpeg)

However, when I check the version published at [cadojo.github.io](http://cadojo.github.io), the page doesn’t seem to actually be rendered. There are still `@def` commands visible at the top of the page:

 ![Screen Shot 2021-01-06 at 6.03.37 PM](https://global.discourse-cdn.com/julialang/original/3X/7/3/734df96451e30fcbeaea174d38eb625918421709.png)

I’ve double checked that I am indeed publishing to the `gh-pages` branch, and I don’t believe I’ve modified the `deploy.yml` file at all. I’m trying to use the `just-the-docs` theme. Does anyone know the issue?

Repo URL: [https://github.com/cadojo/cadojo.github.io](https://github.com/cadojo/cadojo.github.io)

---

<div class="post-metadata">

**Author:** ![cadojo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cadojo/32/25328_2.png) [@cadojo](https://discourse.julialang.org/u/cadojo)\
**Post date:** [January 7, 2021, 3:04am UTC](https://discourse.julialang.org/t/deploying-username-github-io-with-franklin-jl/52966/2 "2021-01-07T03:04:47Z")

</div>

This has been solved! As Fredrik Ekre pointed out in the Julia Slack, my repo was publishing from the `main` branch, **not** the `gh-pages` branch as is required.

---

<div class="post-metadata">

**Author:** ![tlienart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tlienart/32/7640_2.png) [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Post date:** [January 7, 2021, 6:09am UTC](https://discourse.julialang.org/t/deploying-username-github-io-with-franklin-jl/52966/3 "2021-01-07T06:09:19Z")

</div>

It used to be the case that GitHub picked up the `gh-pages` automatically but that seems to no longer be the case; there’s an open issue to clarify this in the Franklin docs 🙂
