Explorar o código

Uncomment the master&cron checks.

Piotrek Koszuliński %!s(int64=8) %!d(string=hai) anos
pai
achega
a222aa05b9
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  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' );