deploy-vir 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config.d.ts +1 -0
- package/dist/git.js +4 -1
- package/package.json +1 -1
- package/src/config.ts +1 -0
- package/src/git.ts +6 -1
package/dist/config.d.ts
CHANGED
package/dist/git.js
CHANGED
|
@@ -100,7 +100,10 @@ export async function pushDeploy(git, branchConfig, repoConfig, remoteName, noti
|
|
|
100
100
|
after: afterCommit,
|
|
101
101
|
},
|
|
102
102
|
};
|
|
103
|
-
if (notifications?.length &&
|
|
103
|
+
if (notifications?.length &&
|
|
104
|
+
(repoConfig.enableNotifications ||
|
|
105
|
+
enableNotifications ||
|
|
106
|
+
branchConfig.enableNotifications)) {
|
|
104
107
|
await sendNotifications(notifications, {
|
|
105
108
|
branchConfig,
|
|
106
109
|
deployResult,
|
package/package.json
CHANGED
package/src/config.ts
CHANGED
package/src/git.ts
CHANGED
|
@@ -208,7 +208,12 @@ export async function pushDeploy(
|
|
|
208
208
|
},
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
-
if (
|
|
211
|
+
if (
|
|
212
|
+
notifications?.length &&
|
|
213
|
+
(repoConfig.enableNotifications ||
|
|
214
|
+
enableNotifications ||
|
|
215
|
+
branchConfig.enableNotifications)
|
|
216
|
+
) {
|
|
212
217
|
await sendNotifications(notifications, {
|
|
213
218
|
branchConfig,
|
|
214
219
|
deployResult,
|