add creating CNAME file to build process

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-09-23 18:29:11 +02:00
parent 365d10edc8
commit e9b9847968
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 6 additions and 1 deletions

1
assets/CNAME Normal file
View File

@ -0,0 +1 @@
vac.dev

View File

@ -46,6 +46,10 @@ task("processStyles", () => {
.pipe(dest(POST_BUILD_STYLESHEET));
});
task("cname", () => {
return src('assets/CNAME').pipe(dest(SITE_ROOT));
});
task("images", () => {
return src(IMAGES)
.pipe(
@ -87,7 +91,7 @@ task("startServer", () => {
);
});
const buildSite = series("buildJekyll", "processStyles", "images");
const buildSite = series("buildJekyll", "processStyles", "images", "cname");
exports.serve = series(buildSite, "startServer");
exports.default = series(buildSite);