# How can I find the reason why docs aren't deployed?

**URL:** <https://discourse.julialang.org/t/how-can-i-find-the-reason-why-docs-arent-deployed/1454>\
**Category:** General Usage\
**Tags:** documentation\
**Created:** [January 13, 2017, 2:10am UTC](https://discourse.julialang.org/t/how-can-i-find-the-reason-why-docs-arent-deployed/1454 "2017-01-13T02:10:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bicycle1885](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bicycle1885/32/107_2.png) [@bicycle1885](https://discourse.julialang.org/u/bicycle1885)\
**Post date:** [January 13, 2017, 2:10am UTC](https://discourse.julialang.org/t/how-can-i-find-the-reason-why-docs-arent-deployed/1454/1 "2017-01-13T02:10:12Z")

</div>

Hi,

I’m now working on a new package [Automa.jl](https://github.com/BioJulia/Automa.jl) and struggling to deploy docs on GitHub pages using Documenter.jl. I read the manual of Documenter.jl and I believe it was properly configured. However, all TravisCI build jobs skip the deployment of its docs. Here is the latest build on Travis CI: [Travis CI - Test and Deploy Your Code with Confidence](https://travis-ci.org/BioJulia/Automa.jl/builds/191495687). I think, by default, Documenter.jl will choose Linux OS on the nightly build for deployment but the build log says it is skipped. I have no clue to diagnose the reason why this happens here. Docs deployment works properly on other my packages.

---

<div class="post-metadata">

**Author:** ![tshort](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tshort/32/43_2.png) [@tshort](https://discourse.julialang.org/u/tshort)\
**Post date:** [January 13, 2017, 2:47am UTC](https://discourse.julialang.org/t/how-can-i-find-the-reason-why-docs-arent-deployed/1454/2 "2017-01-13T02:47:12Z")

</div>

You can set an environment variable in your travis.yml file to give information on why deployment didn’t trigger. Here’s an example:

> <https://github.com/tshort/ReactiveBasics.jl/blob/master/.travis.yml#L17>

Here’s an example where that successfully deployed:

> **[Travis CI - Test and Deploy with Confidence](https://app.travis-ci.com/tshort/ReactiveBasics.jl/jobs/188346038)**
>
> Travis CI enables your team to test and ship your apps with confidence. Easily sync your projects with Travis CI and you'll be testing your code in minutes.

Here is the logic for deployment:

> <https://github.com/JuliaDocs/Documenter.jl/blob/master/src/Documenter.jl#L328>

---

<div class="post-metadata">

**Author:** ![bicycle1885](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bicycle1885/32/107_2.png) [@bicycle1885](https://discourse.julialang.org/u/bicycle1885)\
**Post date:** [January 13, 2017, 3:21am UTC](https://discourse.julialang.org/t/how-can-i-find-the-reason-why-docs-arent-deployed/1454/3 "2017-01-13T03:21:22Z")

</div>

Thank you! Really helpful information.

---

<div class="post-metadata">

**Author:** ![Balinus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/balinus/32/243_2.png) [@Balinus](https://discourse.julialang.org/u/Balinus)\
**Post date:** [January 13, 2017, 1:58pm UTC](https://discourse.julialang.org/t/how-can-i-find-the-reason-why-docs-arent-deployed/1454/4 "2017-01-13T13:58:40Z")

</div>

I took a look and it seems resolved right?

---

<div class="post-metadata">

**Author:** ![bicycle1885](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bicycle1885/32/107_2.png) [@bicycle1885](https://discourse.julialang.org/u/bicycle1885)\
**Post date:** [January 13, 2017, 2:09pm UTC](https://discourse.julialang.org/t/how-can-i-find-the-reason-why-docs-arent-deployed/1454/5 "2017-01-13T14:09:07Z")

</div>

Yes, [this](https://github.com/BioJulia/Automa.jl/commit/486c323ac576418fa966e8d7e019b54628f4a304) and [this](https://github.com/BioJulia/Automa.jl/commit/d1eeac13ed2ec1bed5f2bf0f9d348e08a1e8e1af) solved my problem.

---

<div class="post-metadata">

**Author:** ![Balinus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/balinus/32/243_2.png) [@Balinus](https://discourse.julialang.org/u/Balinus)\
**Post date:** [January 13, 2017, 2:10pm UTC](https://discourse.julialang.org/t/how-can-i-find-the-reason-why-docs-arent-deployed/1454/6 "2017-01-13T14:10:53Z")

</div>

Thanks. That’s what I thought.

I had a similar problem a couple of weeks before.
