A common setup to deploy to gh-pages on every commit via a CI system is to expose a github token to ENV and to use it directly in the auth part of the url.
CVSS 3.0HIGH 8.6·Network·No auth·No interaction·EPSS 0.01612·Published 2018-05-31·Fixed in 0.10.0CWE-391