mirror of
https://github.com/mtkennerly/bosca-ceoil-js.git
synced 2024-11-12 18:43:54 +01:00
23 lines
433 B
TypeScript
23 lines
433 B
TypeScript
import * as ghPages from "gh-pages";
|
|
import * as path from "path";
|
|
|
|
const root = `${path.dirname(process.argv[1])}/..`;
|
|
|
|
ghPages.publish(
|
|
root,
|
|
{
|
|
"src": [
|
|
"index.html",
|
|
"index.css",
|
|
"assets/*.css",
|
|
"assets/*.js",
|
|
"audio/**/*.ogg",
|
|
]
|
|
},
|
|
err => {
|
|
if (err !== undefined) {
|
|
console.log(`Failure: ${err}`);
|
|
}
|
|
}
|
|
);
|