mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Deploy Production Code for Commit c716b8fa65
🚀
This commit is contained in:
parent
c716b8fa65
commit
0fb7278bd7
10
lib/git.js
10
lib/git.js
@ -26,6 +26,12 @@ function init(action) {
|
|||||||
try {
|
try {
|
||||||
(0, core_1.info)(`Deploying using ${action.tokenType}… 🔑`);
|
(0, core_1.info)(`Deploying using ${action.tokenType}… 🔑`);
|
||||||
(0, core_1.info)('Configuring git…');
|
(0, core_1.info)('Configuring git…');
|
||||||
|
try {
|
||||||
|
yield (0, execute_1.execute)(`git config --global --add safe.directory "${action.workspace}"`, action.workspace, action.silent);
|
||||||
|
}
|
||||||
|
catch (_a) {
|
||||||
|
(0, core_1.info)('Unable to set workspace as a safe directory…');
|
||||||
|
}
|
||||||
yield (0, execute_1.execute)(`git config user.name "${action.name}"`, action.workspace, action.silent);
|
yield (0, execute_1.execute)(`git config user.name "${action.name}"`, action.workspace, action.silent);
|
||||||
yield (0, execute_1.execute)(`git config user.email "${action.email}"`, action.workspace, action.silent);
|
yield (0, execute_1.execute)(`git config user.email "${action.email}"`, action.workspace, action.silent);
|
||||||
yield (0, execute_1.execute)(`git config core.ignorecase false`, action.workspace, action.silent);
|
yield (0, execute_1.execute)(`git config core.ignorecase false`, action.workspace, action.silent);
|
||||||
@ -40,7 +46,7 @@ function init(action) {
|
|||||||
throw new Error();
|
throw new Error();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (_a) {
|
catch (_b) {
|
||||||
(0, core_1.info)('Unable to unset previous git config authentication as it may not exist, continuing…');
|
(0, core_1.info)('Unable to unset previous git config authentication as it may not exist, continuing…');
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
@ -49,7 +55,7 @@ function init(action) {
|
|||||||
throw new Error();
|
throw new Error();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (_b) {
|
catch (_c) {
|
||||||
(0, core_1.info)('Attempted to remove origin but failed, continuing…');
|
(0, core_1.info)('Attempted to remove origin but failed, continuing…');
|
||||||
}
|
}
|
||||||
yield (0, execute_1.execute)(`git remote add origin ${action.repositoryPath}`, action.workspace, action.silent);
|
yield (0, execute_1.execute)(`git remote add origin ${action.repositoryPath}`, action.workspace, action.silent);
|
||||||
|
2
node_modules/@types/node/README.md
generated
vendored
2
node_modules/@types/node/README.md
generated
vendored
@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|||||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
||||||
|
|
||||||
### Additional Details
|
### Additional Details
|
||||||
* Last updated: Wed, 23 Mar 2022 17:01:45 GMT
|
* Last updated: Mon, 18 Apr 2022 16:31:18 GMT
|
||||||
* Dependencies: none
|
* Dependencies: none
|
||||||
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
||||||
|
|
||||||
|
2
node_modules/@types/node/buffer.d.ts
generated
vendored
2
node_modules/@types/node/buffer.d.ts
generated
vendored
@ -443,7 +443,7 @@ declare module 'buffer' {
|
|||||||
* Allocates a new `Buffer` of `size` bytes. If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_INVALID_ARG_VALUE` is thrown.
|
* Allocates a new `Buffer` of `size` bytes. If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_INVALID_ARG_VALUE` is thrown.
|
||||||
*
|
*
|
||||||
* The underlying memory for `Buffer` instances created in this way is _not_
|
* The underlying memory for `Buffer` instances created in this way is _not_
|
||||||
* _initialized_. The contents of the newly created `Buffer` are unknown and_may contain sensitive data_. Use `Buffer.alloc()` instead to initialize`Buffer` instances with zeroes.
|
* _initialized_. The contents of the newly created `Buffer` are unknown and _may contain sensitive data_. Use `Buffer.alloc()` instead to initialize`Buffer` instances with zeroes.
|
||||||
*
|
*
|
||||||
* ```js
|
* ```js
|
||||||
* import { Buffer } from 'buffer';
|
* import { Buffer } from 'buffer';
|
||||||
|
7
node_modules/@types/node/net.d.ts
generated
vendored
7
node_modules/@types/node/net.d.ts
generated
vendored
@ -59,6 +59,7 @@ declare module 'net' {
|
|||||||
path: string;
|
path: string;
|
||||||
}
|
}
|
||||||
type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts;
|
type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts;
|
||||||
|
type SocketReadyState = 'opening' | 'open' | 'readOnly' | 'writeOnly' | 'closed';
|
||||||
/**
|
/**
|
||||||
* This class is an abstraction of a TCP socket or a streaming `IPC` endpoint
|
* This class is an abstraction of a TCP socket or a streaming `IPC` endpoint
|
||||||
* (uses named pipes on Windows, and Unix domain sockets otherwise). It is also
|
* (uses named pipes on Windows, and Unix domain sockets otherwise). It is also
|
||||||
@ -262,6 +263,12 @@ declare module 'net' {
|
|||||||
* @since v0.9.6
|
* @since v0.9.6
|
||||||
*/
|
*/
|
||||||
readonly localPort?: number;
|
readonly localPort?: number;
|
||||||
|
/**
|
||||||
|
* This property represents the state of the connection as a string.
|
||||||
|
* @see {https://nodejs.org/api/net.html#socketreadystate}
|
||||||
|
* @since v0.5.0
|
||||||
|
*/
|
||||||
|
readonly readyState: SocketReadyState;
|
||||||
/**
|
/**
|
||||||
* The string representation of the remote IP address. For example,`'74.125.127.100'` or `'2001:4860:a005::68'`. Value may be `undefined` if
|
* The string representation of the remote IP address. For example,`'74.125.127.100'` or `'2001:4860:a005::68'`. Value may be `undefined` if
|
||||||
* the socket is destroyed (for example, if the client disconnected).
|
* the socket is destroyed (for example, if the client disconnected).
|
||||||
|
4
node_modules/@types/node/package.json
generated
vendored
4
node_modules/@types/node/package.json
generated
vendored
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@types/node",
|
"name": "@types/node",
|
||||||
"version": "17.0.23",
|
"version": "17.0.25",
|
||||||
"description": "TypeScript definitions for Node.js",
|
"description": "TypeScript definitions for Node.js",
|
||||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@ -215,6 +215,6 @@
|
|||||||
},
|
},
|
||||||
"scripts": {},
|
"scripts": {},
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"typesPublisherContentHash": "31d9626c2d3ccc7c4b4e0d91e1ed56f52997cd7409e001330de7b00feb84ad8b",
|
"typesPublisherContentHash": "825e787f0a7c6fde372f102a7e96d0c64b5cb4ff7c07557941bedf371f097b76",
|
||||||
"typeScriptVersion": "3.9"
|
"typeScriptVersion": "3.9"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user