# Error deploying documentation

**URL:** https://discourse.julialang.org/t/error-deploying-documentation/65039
**Category:** Tooling
**Created:** [July 21, 2021, 3:06pm UTC](https://discourse.julialang.org/t/error-deploying-documentation/65039 "2021-07-21T15:06:48Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![markmbaum](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/markmbaum/32/32745_2.png) [@markmbaum](https://discourse.julialang.org/u/markmbaum)
#### Post date: [July 21, 2021, 3:06pm UTC](https://discourse.julialang.org/t/error-deploying-documentation/65039/1 "2021-07-21T15:06:49Z")

</div>

I’m running into an issue deploying documentation on GitHub. I have Documenter setup with GitHub actions, and the deployment seems to be running smoothly

```julia
┌ Info: Deployment criteria for deploying devbranch build from GitHub Actions:
│ - ✔ ENV["GITHUB_REPOSITORY"]="markmbaum/ClearSky.jl" occurs in repo="github.com/markmbaum/ClearSky.jl"
│ - ✔ ENV["GITHUB_EVENT_NAME"]="push" is "push"
│ - ✔ ENV["GITHUB_REF"] matches devbranch="main"
│ - ✔ ENV["GITHUB_ACTOR"] exists and is non-empty
│ - ✔ ENV["GITHUB_TOKEN"] exists and is non-empty
└ Deploying: ✔

```

but then it runs into an issue pushing to the documentation branch

```julia
┌ Error: Failed to push:
│ exception =
│ MethodError: no method matching iterate(::Nothing)

```

I’m not sure how to proceed. Could this be an issue with permission? Happy to provide more info if needed.

---

<div class="post-metadata">

### Author: ![jaredthomas68](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jaredthomas68/32/27670_2.png) [@jaredthomas68](https://discourse.julialang.org/u/jaredthomas68)
#### Post date: [July 29, 2021, 11:42pm UTC](https://discourse.julialang.org/t/error-deploying-documentation/65039/2 "2021-07-29T23:42:01Z")

</div>

I have the exact same error happening for [https://github.com/byuflowlab/FLOWFarm.jl](https://github.com/byuflowlab/FLOWFarm.jl) and have not been able to solve the problem. Any insight would be helpful.

---

<div class="post-metadata">

### Author: ![zdenek\_hurak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zdenek_hurak/32/53118_2.png) [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)
#### Post date: [July 30, 2021, 12:32am UTC](https://discourse.julialang.org/t/error-deploying-documentation/65039/3 "2021-07-30T00:32:36Z")

</div>

Note that unless you tag a stable release, you can only produce a dev docs. I suggest including the following instead of the second line in your README:

```julia
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://byuflowlab.github.io/FLOWFarm.jl/dev)

```

Also make sure that the `gh-pages` is selected in your Pages settings in the Github project Settings.

---

<div class="post-metadata">

### Author: ![zdenek\_hurak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zdenek_hurak/32/53118_2.png) [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)
#### Post date: [July 30, 2021, 12:34am UTC](https://discourse.julialang.org/t/error-deploying-documentation/65039/4 "2021-07-30T00:34:04Z")

</div>

And what’s actually wrong? I can see your docs are there at [https://markmbaum.github.io/ClearSky.jl/dev/](https://markmbaum.github.io/ClearSky.jl/dev/).

---

<div class="post-metadata">

### Author: ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)
#### Post date: [July 30, 2021, 12:47am UTC](https://discourse.julialang.org/t/error-deploying-documentation/65039/5 "2021-07-30T00:47:11Z")

</div>

You are using [`versions = nothing`](https://github.com/byuflowlab/FLOWFarm.jl/blob/ce9ed64266b0e4bafe9505d651817c4d80d1f796/docs/make.jl#L23) with [Documenter 0.24.3](https://github.com/byuflowlab/FLOWFarm.jl/blob/ce9ed64266b0e4bafe9505d651817c4d80d1f796/docs/Manifest.toml#L44) but that functionality wasn’t available before [Documenter 0.27.3](https://github.com/JuliaDocs/Documenter.jl/blob/v0.27.3/CHANGELOG.md).
