This commit is contained in:
James Ives 2020-05-18 08:58:56 -04:00
parent 2055e89d83
commit e9e51bbfd8
2 changed files with 1 additions and 2 deletions

View File

@ -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) {

View File

@ -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