Skip to content

Commit

Permalink
Deploy Production Code for Commit 95ad738 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Jun 26, 2022
1 parent 95ad738 commit e6d003d
Show file tree
Hide file tree
Showing 83 changed files with 2,264 additions and 1,112 deletions.
2 changes: 1 addition & 1 deletion lib/constants.d.ts
Expand Up @@ -53,7 +53,7 @@ export interface ActionInterface {
/** The minimum required values to run the action as a node module. */
export interface NodeActionInterface {
/** The branch that the action should deploy to. */
branch: string;
branch?: string;
/** The folder to deploy. */
folder: string;
/** The repository path, for example JamesIves/github-pages-deploy-action. */
Expand Down
6 changes: 5 additions & 1 deletion lib/lib.js
Expand Up @@ -48,7 +48,11 @@ function run(configuration) {
❓ Discussions / Q&A: https://github.com/JamesIves/github-pages-deploy-action/discussions
🔧 Report a Bug: https://github.com/JamesIves/github-pages-deploy-action/issues`);
(0, core_1.info)('Checking configuration and starting deployment… 🚦');
const settings = Object.assign({}, configuration);
const settings = Object.assign(Object.assign({}, configuration), {
// Set the default branch for Node configurations
branch: !(0, util_1.isNullOrUndefined)(configuration.branch)
? configuration.branch
: 'gh-pages' });
// Defines the repository/folder paths and token types.
// Also verifies that the action has all of the required parameters.
settings.folderPath = (0, util_1.generateFolderPath)(settings);
Expand Down
2 changes: 1 addition & 1 deletion lib/util.d.ts
@@ -1,5 +1,5 @@
import { ActionInterface } from './constants';
export declare const isNullOrUndefined: (value: unknown) => boolean;
export declare const isNullOrUndefined: (value: unknown) => value is "" | null | undefined;
export declare const generateTokenType: (action: ActionInterface) => string;
export declare const generateRepositoryPath: (action: ActionInterface) => string;
export declare const generateFolderPath: (action: ActionInterface) => string;
Expand Down
25 changes: 24 additions & 1 deletion node_modules/@actions/core/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions node_modules/@actions/core/lib/core.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions node_modules/@actions/core/lib/core.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/@actions/core/lib/core.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/@actions/core/lib/oidc-utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/@actions/core/lib/oidc-utils.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions node_modules/@actions/core/lib/path-utils.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e6d003d

Please sign in to comment.