GithubPages class
Publish specific directory from git repository to Github Pages.
- workingDirectory must be a git repository.
- branch is optional and defaults to 'gh-pages'.
Constructors
- GithubPages({required String workingDirectory, String branch = 'gh-pages'})
Properties
- branch → String
-
final
- gitDir ↔ GitDir
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- workingDirectory → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
publish(
{String remote = 'origin'}) → Future< void> - Pushes updated branch to remote repository.
-
toString(
) → String -
A string representation of this object.
inherited
-
updateBranch(
{required String publishDirectory, String? commitMessage}) → Future< void> -
Update branch with content of
publishDirectory
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited