# Documenter didn't deploy docs after CI

**URL:** <https://discourse.julialang.org/t/documenter-didnt-deploy-docs-after-ci/21388>\
**Category:** General Usage\
**Tags:** documentation, documenter, ci\
**Created:** [March 2, 2019, 11:50am UTC](https://discourse.julialang.org/t/documenter-didnt-deploy-docs-after-ci/21388 "2019-03-02T11:50:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![thautwarm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thautwarm/32/37760_2.png) [@thautwarm](https://discourse.julialang.org/u/thautwarm)\
**Post date:** [March 2, 2019, 11:50am UTC](https://discourse.julialang.org/t/documenter-didnt-deploy-docs-after-ci/21388/1 "2019-03-02T11:50:39Z")

</div>

It seems that my docs have been broken for a long time(since another contributor’s commit about 10 days ago).

The lastest log is here:

> **[Travis CI - Test and Deploy with Confidence](https://app.travis-ci.com/thautwarm/MLStyle.jl/jobs/500747669)**
>
> 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.

Why did this get `should_deploy=false`, and what should I do to deploy my docs again?

---

<div class="post-metadata">

**Author:** ![thautwarm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thautwarm/32/37760_2.png) [@thautwarm](https://discourse.julialang.org/u/thautwarm)\
**Post date:** [March 2, 2019, 12:18pm UTC](https://discourse.julialang.org/t/documenter-didnt-deploy-docs-after-ci/21388/2 "2019-03-02T12:18:52Z")

</div>

Solved, sorry for my blind eyes.

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [March 2, 2019, 12:20pm UTC](https://discourse.julialang.org/t/documenter-didnt-deploy-docs-after-ci/21388/3 "2019-03-02T12:20:33Z")

</div>

It might be a good idea to upgrade Documenter as well. It is pinned to `0.19` now. [MLStyle.jl/Project.toml at master · thautwarm/MLStyle.jl · GitHub](https://github.com/thautwarm/MLStyle.jl/blob/master/docs/Project.toml#L6). The config for the new documenter is quite a lot simpler, e.g. [OhMyREPL.jl/make.jl at master · KristofferC/OhMyREPL.jl · GitHub](https://github.com/KristofferC/OhMyREPL.jl/blob/master/docs/make.jl).

---

<div class="post-metadata">

**Author:** ![thautwarm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thautwarm/32/37760_2.png) [@thautwarm](https://discourse.julialang.org/u/thautwarm)\
**Post date:** [March 2, 2019, 12:29pm UTC](https://discourse.julialang.org/t/documenter-didnt-deploy-docs-after-ci/21388/4 "2019-03-02T12:29:08Z")

</div>

Yes, the new version could be amazingly convenient, but my problem is not at here.

This problem is brought about for a contributor who uses MacOS changed the .travis.yml and caused an unexpected breakage.

```julia
jobs:
  include:
    - stage: "Documentation"
      julia: 1.0
      os: osx # this should be linux
      script:
        - julia --project=docs/ -e 'using Pkg; Pkg.instantiate(); Pkg.add(PackageSpec(path=pwd()))'
        - julia --project=docs/ docs/make.jl
      after_success: skip

```

@pfitzseb told me in Slack to make this fix, thanks a lot!

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [March 2, 2019, 12:30pm UTC](https://discourse.julialang.org/t/documenter-didnt-deploy-docs-after-ci/21388/5 "2019-03-02T12:30:41Z")

</div>

> [@thautwarm](#):
>
> Yes, the new version could be amazingly convenient, but my problem is not at here.

I realize that, my suggestion was just a general tips 🙂

---

<div class="post-metadata">

**Author:** ![thautwarm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thautwarm/32/37760_2.png) [@thautwarm](https://discourse.julialang.org/u/thautwarm)\
**Post date:** [March 2, 2019, 12:33pm UTC](https://discourse.julialang.org/t/documenter-didnt-deploy-docs-after-ci/21388/6 "2019-03-02T12:33:48Z")

</div>

Yes, I’d appreciate it for your practical tips! I’m going to try the new version 😊
