- contains all changes from
v1.0.0-beta.*
releases
- fix typo for
--defaulBranch
- when the
--defaultBranch
orm
flag is passed, users can specify a different default branch other than master
- when the
--defaultBranch
flag is passed, users can specify a different default branch other than master
- when the
--verbose
flag is passed,options
will be logged as well on deployment failure
--verbose
flag defaulting tofalse
is added, which when set, configuresgh-pages
silent
property asfalse
, logging more information.
Only directory
and token
options are now required when running in GitHub Actions workflows, similarly to CircleCI.
--dotfiles
flag defaulting tofalse
is now supported, similarly to gh-pages, to support deploying pages which need dotfiles to function correctly
- when branch is
master
, the directory won't be deployed to/branch/${branchName}
, but/
instead, allowing consumers to only rely on this package and not needgh-pages
in addition - default
branch
value ofmaster
is added
- deployment id was taken from the wrong field
- error on pulling gh-pages branch to directory is logged now
There is no change in library behaviour.
GitHub pages, if not root, do not automatically redirect to index.html
.
GitHub pages sometimes had inconsistent behaviour without it.
Command Line Interface directory (bin/
) is now included in the published npm package.
The main functionality is now exposed as deploy-directory-on-branch-to-gh-pages
command.
This release exposes the main functionality as the default deploy
function.