-
-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'releases/v4-flow' of https://github.com/JamesIves/githu…
…b-pages-deploy-action into releases/v4-flow
- Loading branch information
Showing
2 changed files
with
38 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
import { ActionInterface } from './constants'; | ||
/** | ||
* Git checkout command. | ||
*/ | ||
export declare class GitCheckout { | ||
orphan: boolean; | ||
commitish?: string | null; | ||
branch: string; | ||
constructor(branch: string, commitish?: string); | ||
toString(): string; | ||
} | ||
export declare function generateWorktree(action: ActionInterface, worktreedir: string, branchExists: unknown): Promise<void>; | ||
/** | ||
* Generates a git worktree. | ||
* @param action - The action interface. | ||
* @param worktreedir - The worktree directory. | ||
* @param branchExists - Bool indicating if the branch exists. | ||
*/ | ||
export declare function generateWorktree(action: ActionInterface, worktreedir: string, branchExists: boolean | number): Promise<void>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters