mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
3.5.3
This commit is contained in:
parent
2055e89d83
commit
e9e51bbfd8
@ -27,7 +27,7 @@ function init(action) {
|
|||||||
yield execute_1.execute(`git config user.email "${action.email}"`, action.workspace);
|
yield execute_1.execute(`git config user.email "${action.email}"`, action.workspace);
|
||||||
yield execute_1.execute(`git remote rm origin`, action.workspace);
|
yield execute_1.execute(`git remote rm origin`, action.workspace);
|
||||||
yield execute_1.execute(`git remote add origin ${action.repositoryPath}`, action.workspace);
|
yield execute_1.execute(`git remote add origin ${action.repositoryPath}`, action.workspace);
|
||||||
yield execute_1.execute(`git fetch`, action.workspace);
|
yield execute_1.execute(`git fetch --no-recurse-submodules`, action.workspace);
|
||||||
core_1.info('Git configured… 🔧');
|
core_1.info('Git configured… 🔧');
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
|
@ -38,7 +38,6 @@ function run(configuration) {
|
|||||||
core_1.setFailed(error.message);
|
core_1.setFailed(error.message);
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
console.log(status);
|
|
||||||
core_1.info(`${status === constants_1.Status.FAILED
|
core_1.info(`${status === constants_1.Status.FAILED
|
||||||
? 'Deployment Failed ❌'
|
? 'Deployment Failed ❌'
|
||||||
: status === constants_1.Status.SUCCESS
|
: status === constants_1.Status.SUCCESS
|
||||||
|
Loading…
Reference in New Issue
Block a user