Matplotlib dependency for Documenter.jl in Github Actions

You have to set the environment variable at the step where the package is built. In your documenter.yml, that is one step later (in julia-actions/julia-docdeploy@v1 instead of julia-actions/setup-julia@latest).

Setting the environment variable in the make.jl file is also not helpful, the package is already built when this is executed.