Documenter didn't deploy docs after CI

documentation
documenter
ci
#1

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:

https://travis-ci.org/thautwarm/MLStyle.jl/jobs/500747669#L302

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

0 Likes

#2

Solved, sorry for my blind eyes.

0 Likes

#3

It might be a good idea to upgrade Documenter as well. It is pinned to 0.19 now. 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. https://github.com/KristofferC/OhMyREPL.jl/blob/master/docs/make.jl.

1 Like

#4

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.

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!

0 Likes

#5

I realize that, my suggestion was just a general tips :slight_smile:

0 Likes

#6

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

0 Likes