8
0
فهرست منبع

Uncomment the master&cron checks.

Piotrek Koszuliński 8 سال پیش
والد
کامیت
a222aa05b9
1فایلهای تغییر یافته به همراه6 افزوده شده و 6 حذف شده
  1. 6 6
      scripts/docs/build-and-publish-nightly.js

+ 6 - 6
scripts/docs/build-and-publish-nightly.js

@@ -16,14 +16,14 @@ This script is to be used on CI to automatically update https://ckeditor5.github
 */
 
 // Build the documentation only when master branch is updated.
-// if ( process.env.TRAVIS_BRANCH !== 'master' ) {
-// 	process.exit();
-// }
+if ( process.env.TRAVIS_BRANCH !== 'master' ) {
+	process.exit();
+}
 
 // Build the documentation only when a cron task triggered the CI.
-// if ( process.env.TRAVIS_EVENT_TYPE !== 'cron' ) {
-// 	process.exit();
-// }
+if ( process.env.TRAVIS_EVENT_TYPE !== 'cron' ) {
+	process.exit();
+}
 
 const path = require( 'path' );
 const { tools } = require( '@ckeditor/ckeditor5-dev-utils' );