@@ -237,10 +237,10 @@ defmodule Nerves.Artifact do
237237 Artifact sites can pass options as a third parameter for adding headers
238238 or query string parameters. For example, if you are trying to resolve
239239 artifacts hosted in a private Github repo, use `:github_api` and
240- pass a user, tag, and personal access token into the sites helper:
240+ pass a tag and personal access token into the sites helper:
241241
242242 ```elixir
243- {:github_api, "owner/repo", username: "skroob", token: "1234567", tag: "v0.1.0"}
243+ {:github_api, "owner/repo", token: "1234567", tag: "v0.1.0"}
244244 ```
245245
246246 Or pass query parameters for the URL:
@@ -419,7 +419,7 @@ defmodule Nerves.Artifact do
419419
420420 Supported artifact sites:
421421 {:github_releases, "owner/repo"}
422- {:github_api, "owner/repo", username: "skroob", token: "1234567", tag: "v0.1.0"}
422+ {:github_api, "owner/repo", token: "1234567", tag: "v0.1.0"}
423423 {:gitea_releases, "host/owner/repo"},
424424 {:gitea_api, "owner/repo", base_url: "https://gitea.com", token: "123456", tag: "v0.1.0"}
425425 {:prefix, "http://myserver.com/artifacts"}
0 commit comments