Error deploying documentation

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

┌ Info: Deployment criteria for deploying devbranch build from GitHub Actions:
│ - ✔ ENV["GITHUB_REPOSITORY"]="markmbaum/ClearSky.jl" occurs in repo=""
│ - ✔ 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

┌ 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.

I have the exact same error happening for and have not been able to solve the problem. Any insight would be helpful.

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:


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

And what’s actually wrong? I can see your docs are there at

You are using versions = nothing with Documenter 0.24.3 but that functionality wasn’t available before Documenter 0.27.3.