You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2021/08/17 13:18:19 UTC
[cordova-docs] branch master updated: fix(ci): publish asf-site
(#1187)
This is an automated email from the ASF dual-hosted git repository.
erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git
The following commit(s) were added to refs/heads/master by this push:
new 4bc041a fix(ci): publish asf-site (#1187)
4bc041a is described below
commit 4bc041a015f50f1e522e760f63311aa3469ce652
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Tue Aug 17 22:18:15 2021 +0900
fix(ci): publish asf-site (#1187)
---
gulpfile.js | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gulpfile.js b/gulpfile.js
index 38e7be3..c0de7a8 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -332,6 +332,11 @@ let styles = module.exports.styles = gulp.series(less, css, sass);
let data = module.exports.data = gulp.series(toc, docsVersion, pagesDict);
let configs = module.exports.configs = gulp.series(defaults, version);
+let asf = module.exports.asf = function asf () {
+ return gulp.src(path.join(ROOT_DIR, '.asf.yaml'))
+ .pipe(gulp.dest(path.join(PROD_DIR)));
+};
+
let plugins = module.exports.plugins = function plugins () {
if (gutil.env.prod) {
process.env.NODE_ENV = 'production';
@@ -374,7 +379,7 @@ let plugins = module.exports.plugins = function plugins () {
let build = module.exports.build = gulp.series(configs, data, styles, plugins, function build (done) {
jekyllBuild(done);
-});
+}, asf);
let serve = module.exports.serve = gulp.series(build, function serve () {
var route = {};
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org