fix(core): update

This commit is contained in:
Philipp Kunz 2019-05-15 21:25:02 +02:00
parent 755babdd75
commit ea9dfa0e0d

View File

@ -20,6 +20,9 @@ export class MkDocs {
case argvArg.serve:
await mkdocsInstance.serve();
break;
case argvArg.publish:
await mkdocsInstance.publish();
break;
default:
await mkdocsInstance.compile();
break;
@ -57,4 +60,9 @@ export class MkDocs {
}:/docs registry.gitlab.com/hosttoday/ht-docker-mkdocs`
);
}
public async publish() {
await this.compile();
await this.smartshellInstance.exec(`gitzone commit`);
}
}