diff --git a/src/constants.ts b/src/constants.ts index 3a7970b9..5929dfa0 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -13,7 +13,7 @@ export interface ActionInterface { /** The branch that the action should deploy to. */ branch: string /** If your project generates hashed files on build you can use this option to automatically delete them from the deployment branch with each deploy. This option can be toggled on by setting it to true. */ - clean?: boolean + clean?: boolean | null; /** If you need to use CLEAN but you'd like to preserve certain files or folders you can use this option. */ cleanExclude?: string | string[] /** If you need to customize the commit message for an integration you can do so. */ @@ -27,7 +27,7 @@ export interface ActionInterface { /** GitHub deployment token. */ gitHubToken?: string | null /** Determines if the action is running in test mode or not. */ - isTest?: boolean + isTest?: boolean | null; /** The git config name. */ name?: string /** The repository path, for example JamesIves/github-pages-deploy-action. */ @@ -37,7 +37,7 @@ export interface ActionInterface { /** The root directory where your project lives. */ root?: string /** Set to true if you're using an ssh client in your build step. */ - ssh?: boolean + ssh?: boolean | null; /** If you'd like to push the contents of the deployment folder into a specific directory on the deployment branch you can specify it here. */ targetFolder?: string /** The token type, ie ssh/github token/access token, this gets automatically generated. */